From 72f367f607102c249e635af12cdff59748378fbe Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 26 Jun 2026 13:23:46 +0000 Subject: [PATCH] Honestly 5 seconds delay for the denounce is fine, 500ms was unnecessarily quick --- webassets/js/bands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webassets/js/bands.js b/webassets/js/bands.js index f8cfba7..9166ce5 100644 --- a/webassets/js/bands.js +++ b/webassets/js/bands.js @@ -46,7 +46,7 @@ function startSSEConnection() { // Debounce. Wait 500ms after the last message before re-rendering to avoid too many ugly flashes clearTimeout(updateBandsDebounceId); - updateBandsDebounceId = setTimeout(updateBands, 500); + updateBandsDebounceId = setTimeout(updateBands, 5000); }; evtSource.onerror = function () {