forked from Qortal/qortal
Reduced ArbitraryDataFileRequestThread count from 10 to 5, to reduce network flooding.
This commit is contained in:
parent
c62c59b445
commit
0596a07c7d
@ -82,7 +82,7 @@ public class ArbitraryDataFileManager extends Thread {
|
||||
|
||||
try {
|
||||
// Use a fixed thread pool to execute the arbitrary data file requests
|
||||
int threadCount = 10;
|
||||
int threadCount = 5;
|
||||
ExecutorService arbitraryDataFileRequestExecutor = Executors.newFixedThreadPool(threadCount);
|
||||
for (int i = 0; i < threadCount; i++) {
|
||||
arbitraryDataFileRequestExecutor.execute(new ArbitraryDataFileRequestThread());
|
||||
|
Loading…
Reference in New Issue
Block a user