Skip to content

Commit

Permalink
websocket: reduce memory usage (#3393)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx authored Jul 6, 2024
1 parent be0703b commit 64cd7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/websocket/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const { maxUnsigned16Bit } = require('./constants')

const BUFFER_SIZE = 16386
const BUFFER_SIZE = 8 * 1024

/** @type {import('crypto')} */
let crypto
Expand Down

0 comments on commit 64cd7a9

Please sign in to comment.