Reduced ArbitraryDataFileRequestThread count from 10 to 5, to reduce network flooding.

This commit is contained in:
CalDescent 2023-01-14 12:58:35 +00:00
parent c62c59b445
commit 0596a07c7d

View File

@ -82,7 +82,7 @@ public class ArbitraryDataFileManager extends Thread {
try { try {
// Use a fixed thread pool to execute the arbitrary data file requests // Use a fixed thread pool to execute the arbitrary data file requests
int threadCount = 10; int threadCount = 5;
ExecutorService arbitraryDataFileRequestExecutor = Executors.newFixedThreadPool(threadCount); ExecutorService arbitraryDataFileRequestExecutor = Executors.newFixedThreadPool(threadCount);
for (int i = 0; i < threadCount; i++) { for (int i = 0; i < threadCount; i++) {
arbitraryDataFileRequestExecutor.execute(new ArbitraryDataFileRequestThread()); arbitraryDataFileRequestExecutor.execute(new ArbitraryDataFileRequestThread());