mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(converter) Reduce lock contention in converter by separating the processing of full and simple-track domains
This commit is contained in:
parent
503ea57d5b
commit
1673fc284c
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user