From c268886f57da9e3683ef5387eb8205923eaf66b4 Mon Sep 17 00:00:00 2001 From: mattk70 Date: Tue, 20 Feb 2024 13:35:29 +0000 Subject: [PATCH] Disable the dial down on summary updates --- js/worker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/worker.js b/js/worker.js index 8ab3ef5c..6809ce8e 100644 --- a/js/worker.js +++ b/js/worker.js @@ -1805,10 +1805,10 @@ const prepSummaryStatement = (included) => { console.warn("Parse message error", error, 'message was', message); }); // Dial down the getSummary calls if the queue length starts growing - if (messageQueue.length > NUM_WORKERS * 2 ) { - STATE.incrementor = Math.min(STATE.incrementor *= 2, 256); - DEBUG && console.log('increased incrementor to ', STATE.incrementor) - } + // if (messageQueue.length > NUM_WORKERS * 2 ) { + // STATE.incrementor = Math.min(STATE.incrementor *= 2, 256); + // DEBUG && console.log('increased incrementor to ', STATE.incrementor) + // } // Set isParsing to false to allow the next message to be processed