1
1
mirror of https://github.com/MarginaliaSearch/MarginaliaSearch.git synced 2025-10-05 21:22:39 +02:00

(live-capture) Use threads instead of FJP for coordination of sampling

This commit is contained in:
Viktor Lofgren
2025-09-25 10:13:32 +02:00
parent 4ea724d2cb
commit ca8455e049

View File

@@ -111,7 +111,7 @@ public class DomSampleService {
var domains = db.getScheduledDomains();
for (String domain : domains) {
samplingQueue.offer(new EdgeDomain(domain));
samplingQueue.put(new EdgeDomain(domain));
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();