(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:
Viktor Lofgren 2023-12-26 19:37:34 +01:00
parent 4763077b76
commit 3ea1ddae22

View File

@ -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)
); );
} }