(converter) Reduce lock contention in converter by separating the processing of full and simple-track domains

This commit is contained in:
Viktor Lofgren 2025-01-26 13:21:46 +01:00
parent 503ea57d5b
commit 1673fc284c

View File

@ -228,7 +228,7 @@ public class LiveCrawlDataSet implements AutoCloseable {
} }
@Override @Override
public boolean hasNext() throws IOException { public boolean hasNext() {
if (dataStack == null) { if (dataStack == null) {
query(); query();
} }
@ -236,7 +236,7 @@ public class LiveCrawlDataSet implements AutoCloseable {
} }
@Override @Override
public void close() throws Exception { public void close() {
dataStack.clear(); dataStack.clear();
} }
} }