Increase thread pool size at Broadcaster

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-01-03 19:58:29 -05:00
parent 9d820ba83e
commit b7d1a9da22
No known key found for this signature in database
GPG key ID: 02AA2BAE387C8307

View file

@ -71,8 +71,8 @@ public class Broadcaster implements BroadcastHandler.ResultHandler {
this.peerManager = peerManager;
ThreadPoolExecutor threadPoolExecutor = Utilities.getThreadPoolExecutor("Broadcaster",
maxConnections,
maxConnections * 2,
maxConnections * 3,
30,
30);
executor = MoreExecutors.listeningDecorator(threadPoolExecutor);