Fix update states in scanning context thread

This commit is contained in:
localhost_frssoft 2022-11-27 22:44:44 +03:00
parent 045ccccb44
commit cf6e0a6d7a

View file

@ -40,6 +40,7 @@ def scan_context_thread():
time_now = int(time.time())
reserve_time = False
while status_id is None or stop_thread_scan is None:
states = read_states()
fail_limit = Counter()
status_id = states.get('last_thread_id')
stop_thread_scan = states.get('stop_thread_scan')