mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-24 08:14:35 +02:00
check for schema_update lock when poller-service runs
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ while True:
|
||||
devices_scanned = 0
|
||||
next_update = datetime.now() + timedelta(minutes=1)
|
||||
|
||||
while threading.active_count() >= amount_of_workers:
|
||||
while threading.active_count() >= amount_of_workers or not lockFree('schema_update'):
|
||||
time.sleep(.5)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user