Startup
This commit is contained in:
@@ -114,7 +114,7 @@ parameter_queue = None
|
||||
statistics =None
|
||||
current_pipeline = None
|
||||
|
||||
def start_pipeline(name, pars, port=DEFAULT_PIPELINE_PORT):
|
||||
def start_pipeline(name, parameters, port=DEFAULT_PIPELINE_PORT):
|
||||
global stop_event, parameter_queue, statistics
|
||||
if name is None:
|
||||
raise Exception("Pipeline name undefined")
|
||||
@@ -123,6 +123,7 @@ def start_pipeline(name, pars, port=DEFAULT_PIPELINE_PORT):
|
||||
stop_event = threading.Event()
|
||||
parameter_queue = queue.Queue()
|
||||
statistics = Namespace()
|
||||
pipeline_config = PipelineConfig(name, parameters=parameters)
|
||||
def send(port):
|
||||
print ("Startint pipeline ", name, " on port: ", port)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user