Skip to content

Commit

Permalink
bump values
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Oct 1, 2024
1 parent 90e3070 commit ab102d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ZelBack/src/lib/socketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class FluxWebsocketServer {
zlibDeflateOptions: {
// See zlib defaults.
chunkSize: 1024,
memLevel: 6,
memLevel: 8,
level: 3,
},
zlibInflateOptions: {
Expand All @@ -21,8 +21,8 @@ class FluxWebsocketServer {
// Other options settable:
clientNoContextTakeover: true, // Defaults to negotiated value.
serverNoContextTakeover: true, // Defaults to negotiated value.
serverMaxWindowBits: 11, // Defaults to negotiated value.
clientMaxWindowBits: 11, // Defaults to negotiated value.
serverMaxWindowBits: 15, // Defaults to negotiated value.
clientMaxWindowBits: 15, // Defaults to negotiated value.
// Below options specified as default values.
concurrencyLimit: 2, // Limits zlib concurrency for perf.
threshold: 128, // Size (in bytes) below which messages
Expand Down
6 changes: 3 additions & 3 deletions ZelBack/src/services/fluxCommunication.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ async function initiateAndHandleConnection(connection) {
zlibDeflateOptions: {
// See zlib defaults.
chunkSize: 1024,
memLevel: 6,
memLevel: 8,
level: 3,
},
zlibInflateOptions: {
Expand All @@ -691,8 +691,8 @@ async function initiateAndHandleConnection(connection) {
// Other options settable:
clientNoContextTakeover: true, // Defaults to negotiated value.
serverNoContextTakeover: true, // Defaults to negotiated value.
serverMaxWindowBits: 11, // Defaults to negotiated value.
clientMaxWindowBits: 11, // Defaults to negotiated value.
serverMaxWindowBits: 15, // Defaults to negotiated value.
clientMaxWindowBits: 15, // Defaults to negotiated value.
// Below options specified as default values.
concurrencyLimit: 2, // Limits zlib concurrency for perf.
threshold: 128, // Size (in bytes) below which messages
Expand Down

0 comments on commit ab102d2

Please sign in to comment.