This commit is contained in:
dgtlmoon
2024-06-07 09:52:53 +02:00
parent 51ea6111b1
commit ccd6f1cb3f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -126,6 +126,7 @@ def wait_for_all_checks(client):
attempt = 0
while attempt < 60:
time.sleep(1)
# should be greater than update_worker.py: self.app.config.exit.wait(0.5)
res = client.get(url_for("index"))
if not b'Checking now' in res.data:
break
+1 -1
View File
@@ -543,4 +543,4 @@ class update_worker(threading.Thread):
# Give the CPU time to interrupt
time.sleep(0.1)
self.app.config.exit.wait(1)
self.app.config.exit.wait(0.5)