mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
check for schema_update lock when poller-service runs
This commit is contained in:
@@ -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