mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(crawler) Roll back switch to virtual thread pool in crawler
This seems to cause a resource leak, it seems the http library uses thread locals?
This commit is contained in:
parent
4763077b76
commit
3ea1ddae22
@ -94,7 +94,7 @@ public class CrawlerMain {
|
|||||||
1);
|
1);
|
||||||
|
|
||||||
fetcher = new HttpFetcherImpl(userAgent.uaString(),
|
fetcher = new HttpFetcherImpl(userAgent.uaString(),
|
||||||
new Dispatcher(Executors.newVirtualThreadPerTaskExecutor()),
|
new Dispatcher(),
|
||||||
new ConnectionPool(5, 10, TimeUnit.SECONDS)
|
new ConnectionPool(5, 10, TimeUnit.SECONDS)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user