Skip to content

Commit

Permalink
revert concurrencyLimit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Oct 3, 2024
1 parent 7b19a94 commit dd0d467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ZelBack/src/lib/socketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
},
Expand Down
2 changes: 1 addition & 1 deletion ZelBack/src/services/fluxCommunication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
},
Expand Down

0 comments on commit dd0d467

Please sign in to comment.