Skip to content

Commit

Permalink
Increase queue capacity from 10 to 30.
Browse files Browse the repository at this point in the history
#6480 reported reaching the limit with the current settings.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
  • Loading branch information
HenrikJannsen authored and ripcurlx committed Dec 22, 2022
1 parent cdb9fe4 commit 4a72c27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/src/main/java/bisq/network/p2p/network/NetworkNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4a72c27

Please sign in to comment.