prepopulate last completed dict

This commit is contained in:
Clint Armstrong
2015-09-09 16:55:36 -04:00
parent 9b2c9c2fd3
commit 310711b4e4
+1 -1
View File
@@ -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