AG-Schumann / Doberman

Distributed supervisory control, data acquisition, and monitoring software for small- to medium-size experiments
MIT License
0 stars 1 forks source link

Avoiding a pipeline to be active twice #201

Closed TiffanyLuce closed 1 year ago

TiffanyLuce commented 1 year ago

By checking if the pipeline is already active and activating it early on in the process, this might avoid getting a same pipeline activated multiple times

Could this be added to pipeline improvements or won't it work ? I am not sure how to check because I don't know how to reproduce the error I am not sure either if the "return -1" in line 37 would be the correct way to deal with an already active pipeline

Would solve #196 if it works