Increase queue capacity from 10 to 30.

https://github.com/bisq-network/bisq/issues/6480 reported reaching the limit with the current settings.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2022-12-21 19:53:51 -05:00
parent d47d84dede
commit 59073274fc
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -103,12 +103,12 @@ public abstract class NetworkNode implements MessageListener {
connectionExecutor = Utilities.getListeningExecutorService("NetworkNode.connection",
maxConnections * 2,
maxConnections * 3,
10,
30,
60);
sendMessageExecutor = Utilities.getListeningExecutorService("NetworkNode.sendMessage",
maxConnections * 2,
maxConnections * 3,
10,
30,
60);
serverExecutor = Utilities.getSingleThreadExecutor("NetworkNode.server-" + servicePort);
}