mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
make threads daemon threads
This commit is contained in:
@@ -291,6 +291,7 @@ def poll_worker(thread_id):
|
||||
t = []
|
||||
for i in range(0, amount_of_workers):
|
||||
t.append(threading.Thread(target=poll_worker, args=[i]))
|
||||
t[i].daemon = True
|
||||
t[i].start()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user