fix: Aktualisiere Zeitverzögerung für Update-Überprüfung und füge Timeout für Server-Check hinzu

This commit is contained in:
2026-05-09 02:47:18 +02:00
parent 33b805b582
commit 70dd911a4c
2 changed files with 3 additions and 2 deletions

3
app.py
View File

@@ -1278,7 +1278,7 @@ def check_for_updates():
def update_check_loop(): def update_check_loop():
time.sleep(30) # Kurz nach Start einmalig prüfen time.sleep(5) # Kurz nach Start einmalig prüfen
while True: while True:
check_for_updates() check_for_updates()
time.sleep(6 * 3600) # Dann alle 6 Stunden time.sleep(6 * 3600) # Dann alle 6 Stunden
@@ -2491,6 +2491,7 @@ function flash(id,cls,msg){
setInterval(pollUpdate,60000); setInterval(pollUpdate,60000);
poll(); poll();
pollUpdate(); pollUpdate();
setTimeout(pollUpdate, 8000); // Server-Check-Ergebnis abholen bevor der 60s-Takt greift
})(); })();
</script> </script>
</body> </body>

View File

@@ -1 +1 @@
1.0.9 1.0.10