set backlog to infinity for now

This commit is contained in:
Mathias Buus 2022-03-11 02:11:45 +01:00
parent 1a3d98457c
commit 22acc08aa1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ const queueTick = require('queue-tick')
const safetyCatch = require('safety-catch')
const MAX_BUFFERED = 32768
const MAX_BACKLOG = 256
const MAX_BACKLOG = Infinity // TODO: impl "open" backpressure
class Session {
constructor (mux, info, context, protocol, id, messages, onopen, onclose, ondestroy) {