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

Enabled multiple parallel streams

parent 5c1fb510
No related branches found
No related tags found
No related merge requests found
......@@ -297,10 +297,11 @@ class DataManager():
self.taskProviderPr.start()
self.log.info("Start TaskProvider...done")
self.log.info("Start DataDispatcher...")
self.dataDispatcherPr = Process ( target = DataDispatcher, args = ( 1, self.routerPort, self.chunkSize, self.fixedStreamId, self.logQueue, self.localTarget) )
self.dataDispatcherPr.start()
self.log.info("Start DataDispatcher...done")
for id in range(self.parallelDataStreams):
self.log.info("Start DataDispatcher-...")
self.dataDispatcherPr = Process ( target = DataDispatcher, args = ( id, self.routerPort, self.chunkSize, self.fixedStreamId, self.logQueue, self.localTarget) )
self.dataDispatcherPr.start()
self.log.info("Start DataDispatcher...done")
def stop(self):
......
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