From 22acc08aa1f3312dfd640693cdc6b022aeabd643 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Fri, 11 Mar 2022 02:11:45 +0100 Subject: [PATCH] set backlog to infinity for now --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8b09f94..73fadaf 100644 --- a/index.js +++ b/index.js @@ -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) {