Change time wait to Wait TriggerTime (60sec)

dev-linux
Ivan Maslov 4 years ago
parent 2b773b4bb8
commit 380929942c

@ -126,7 +126,7 @@ def ProcessorMonitorRunSync(inGSettings):
else: else:
lActiveGUIDStr = lItemDict["GUIDStr"] lActiveGUIDStr = lItemDict["GUIDStr"]
lActiveTimeStart = time.time() lActiveTimeStart = time.time()
time.sleep(10) # Sleep when list is empty time.sleep(inGSettings["ProcessorDict"]["WarningExecutionMoreThanSecFloat"]) # Sleep when list is empty
except Exception as e: except Exception as e:
if lL: lL.exception( if lL: lL.exception(
f"Processor.ProcessorMonitorRunSync. Something goes very wrong in processor queue. See traceback") f"Processor.ProcessorMonitorRunSync. Something goes very wrong in processor queue. See traceback")
Loading…
Cancel
Save