From 8488d9da0af07dad564cdf8d631d205aa640c881 Mon Sep 17 00:00:00 2001 From: vibe-bot Date: Sat, 9 Aug 2025 15:37:47 +0200 Subject: [PATCH] Nightly: CHAOS-Intervall angepasst auf 60120 Sekunden --- web/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 9625e24..ffd11ef 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -188,14 +188,14 @@ export default function App() { const scheduleNextPlay = async () => { if (!chaosModeRef.current) return; await playRandomSound(); - const delay = 60_000 + Math.floor(Math.random() * 120_000); // 1-3 Minuten + const delay = 60_000 + Math.floor(Math.random() * 60_000); // 60-120 Sekunden chaosTimeoutRef.current = window.setTimeout(scheduleNextPlay, delay); }; // Sofort ersten Sound abspielen await playRandomSound(); // Nächsten zufällig in 1-3 Minuten planen - const firstDelay = 60_000 + Math.floor(Math.random() * 120_000); + const firstDelay = 60_000 + Math.floor(Math.random() * 60_000); chaosTimeoutRef.current = window.setTimeout(scheduleNextPlay, firstDelay); };