From dd0d467ee5b02965a8ebb5996b4cd9b1c6e3d674 Mon Sep 17 00:00:00 2001 From: Cabecinha84 Date: Thu, 3 Oct 2024 15:59:39 +0100 Subject: [PATCH] revert concurrencyLimit changes --- ZelBack/src/lib/socketServer.js | 2 +- ZelBack/src/services/fluxCommunication.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ZelBack/src/lib/socketServer.js b/ZelBack/src/lib/socketServer.js index 40bf67fed..423487a40 100644 --- a/ZelBack/src/lib/socketServer.js +++ b/ZelBack/src/lib/socketServer.js @@ -22,7 +22,7 @@ class FluxWebsocketServer { serverMaxWindowBits: 15, // Defaults to negotiated value. clientMaxWindowBits: 15, // Defaults to negotiated value. // Below options specified as default values. - concurrencyLimit: 3, // Limits zlib concurrency for perf. + concurrencyLimit: 2, // Limits zlib concurrency for perf. threshold: 128, // Size (in bytes) below which messages // should not be compressed if context takeover is disabled. }, diff --git a/ZelBack/src/services/fluxCommunication.js b/ZelBack/src/services/fluxCommunication.js index 16f0aa20c..713d11079 100644 --- a/ZelBack/src/services/fluxCommunication.js +++ b/ZelBack/src/services/fluxCommunication.js @@ -694,7 +694,7 @@ async function initiateAndHandleConnection(connection) { serverMaxWindowBits: 15, // Defaults to negotiated value. clientMaxWindowBits: 15, // Defaults to negotiated value. // Below options specified as default values. - concurrencyLimit: 3, // Limits zlib concurrency for perf. + concurrencyLimit: 2, // Limits zlib concurrency for perf. threshold: 128, // Size (in bytes) below which messages // should not be compressed if context takeover is disabled. },