Skip to content
Snippets Groups Projects
Commit a17b1e1e authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

Fixed too high processor load for DataManager

parent 8c552e98
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,7 @@ class DataManager():
"monEventType" : arguments.monitoredEventType,
"monSubdirs" : arguments.fixSubdirs,
"monSuffixes" : arguments.monitoredFormats,
"timeout" : 0.1,
"timeout" : 1,
"historySize" : arguments.historySize
}
elif arguments.eventDetectorType == "WatchdogDetector":
......@@ -485,6 +485,7 @@ class DataManager():
self.dataDispatcherPr.append(pr)
while self.signalHandlerPr.is_alive() and self.taskProviderPr.is_alive() and all(dataDispatcher.is_alive() for dataDispatcher in self.dataDispatcherPr):
time.sleep(1)
pass
# notify which subprocess terminated
......@@ -594,7 +595,7 @@ class Test_Receiver_Stream():
def sendSignal (self, signal, ports, prio = None):
self.log.info("=== sendSignal : " + signal + ", " + str(ports))
sendMessage = ["0.0.1", signal]
sendMessage = [__version__, signal]
targets = []
if type(ports) == list:
for port in ports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment