Skip to content

Commit 1fe6bf4

Browse files
committed
More wait time under test
1 parent 52ddce0 commit 1fe6bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

changedetectionio/flask_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ def ticker_thread_check_time_launch_checks():
978978
logger.debug(f"System env MINIMUM_SECONDS_RECHECK_TIME {recheck_time_minimum_seconds}")
979979

980980
# Workers are now started during app initialization, not here
981-
WAIT_TIME_BETWEEN_LOOP = 1.0 if not IN_PYTEST else 0.0001
981+
WAIT_TIME_BETWEEN_LOOP = 1.0 if not IN_PYTEST else 0.01
982982
if IN_PYTEST:
983983
# The time between loops should be less than the first .sleep/wait in def wait_for_all_checks() of tests/util.py
984984
logger.warning(f"Looks like we're in PYTEST! Setting time between searching for items to add to the queue to {WAIT_TIME_BETWEEN_LOOP}s")

0 commit comments

Comments
 (0)