mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-26 15:26:13 +00:00
hmm
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user