From 59073274fc484cec8be4c5beae0295be9c4b8838 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Wed, 21 Dec 2022 19:53:51 -0500 Subject: [PATCH] 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 --- p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java b/p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java index d7f1da2f85..e90fb1513b 100644 --- a/p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java +++ b/p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java @@ -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); }