Skip to content

Commit

Permalink
websocket: reduce memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx authored Jul 6, 2024
1 parent 4b0921c commit 1ea3f19
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 1ea3f19

Please # to comment.