mirror of
https://git.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-24 20:40:55 +01: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())
|
time_now = int(time.time())
|
||||||
reserve_time = False
|
reserve_time = False
|
||||||
while status_id is None or stop_thread_scan is None:
|
while status_id is None or stop_thread_scan is None:
|
||||||
|
states = read_states()
|
||||||
fail_limit = Counter()
|
fail_limit = Counter()
|
||||||
status_id = states.get('last_thread_id')
|
status_id = states.get('last_thread_id')
|
||||||
stop_thread_scan = states.get('stop_thread_scan')
|
stop_thread_scan = states.get('stop_thread_scan')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user