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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user