duckdb connection may need to be synchronized?

This commit is contained in:
Viktor Lofgren 2023-11-04 14:30:25 +01:00
parent 0152004c42
commit 72afa0341f

View File

@ -60,7 +60,7 @@ public class AnchorTagsImpl implements AnchorTagsSource {
}
@Override
public DomainLinks getAnchorTags(EdgeDomain domain) {
public synchronized DomainLinks getAnchorTags(EdgeDomain domain) {
List<LinkWithText> links = new ArrayList<>();
try (var ps = duckdbConnection.prepareStatement("""