From 07ebe6a79728cae35440e50422f135ceaef40a73 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Sun, 20 Jul 2025 11:07:47 -0400 Subject: [PATCH] Slow down polling for new activity to reduce log clutter --- src/littlesongplace/static/nav.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/littlesongplace/static/nav.js b/src/littlesongplace/static/nav.js index 53ea655..67887b9 100644 --- a/src/littlesongplace/static/nav.js +++ b/src/littlesongplace/static/nav.js @@ -196,8 +196,8 @@ async function checkForNewActivity() { indicator.hidden = !json.new_activity; } -// Check for new activity every 10s -setInterval(checkForNewActivity, 10000); +// Check for new activity every 5 minutes (in ms) +setInterval(checkForNewActivity, 5 * 60 * 1000); function customImage(source, target) { // Customize an image by performing a palette swap on the .gif -- 2.39.5