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. },