mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
prepopulate last completed dict
This commit is contained in:
+1
-1
@@ -293,7 +293,7 @@ def poll_worker():
|
||||
|
||||
thread_stats = {}
|
||||
for i in range(0, amount_of_workers):
|
||||
thread_stats[i] = {}
|
||||
thread_stats[i] = {'last_completed_poll', 0}
|
||||
t = threading.Thread(target=poll_worker)
|
||||
t.name = i
|
||||
t.daemon = True
|
||||
|
||||
Reference in New Issue
Block a user