mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02: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