mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-12 16:23:01 +00:00
Fix update states in scanning context thread
This commit is contained in:
parent
045ccccb44
commit
cf6e0a6d7a
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user