From 711521256857befe598e369e24cad4771cd0edc9 Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Mon, 20 Nov 2017 23:18:32 +0100
Subject: [PATCH] [fix] create a 1/4 ratio between maxPrivate and maxPublic
 ws2p connections

---
 app/modules/ws2p/lib/constants.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/ws2p/lib/constants.ts b/app/modules/ws2p/lib/constants.ts
index 51972d7f7..5336add6a 100644
--- a/app/modules/ws2p/lib/constants.ts
+++ b/app/modules/ws2p/lib/constants.ts
@@ -16,8 +16,8 @@ export const WS2PConstants = {
   DOCPOOL_PULLING_INTERVAL: 3600 * 4, // 4 hours
   SANDBOX_FIRST_PULL_DELAY: 300 * 2,  // 10 minutes after the start
 
-  MAX_LEVEL_1_PEERS: 10,
-  MAX_LEVEL_2_PEERS: 10,
+  MAX_LEVEL_1_PEERS: 5,
+  MAX_LEVEL_2_PEERS: 20,
   CONNECTIONS_LOW_LEVEL: 3,
 
   BAN_DURATION_IN_SECONDS: 120,
-- 
GitLab