From 1aecfe81bcbee65d3c4c72e12aa14b561b7e32fa Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Mon, 23 Jan 2023 23:53:39 -0500 Subject: [PATCH] re add console limiting --- src/console.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/console.js b/src/console.js index 7da50c8..4bee9de 100644 --- a/src/console.js +++ b/src/console.js @@ -123,6 +123,10 @@ const parse = (req) => { const render = () => { + if (requests.length > 200) { + requests.splice(0, 100) + } + const html = `