Skip to content

Commit 521ba37

Browse files
author
Michael Hammann
committed
fix: depends on was not working correctly when dependency was set to process within a group
1 parent e5eeae7 commit 521ba37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/rpcinterface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def startProcess(self, name, wait=True):
295295
running_childs.remove(child.config.name)
296296
# check if it needs to be started
297297
if child.state is not (ProcessStates.STARTING or ProcessStates.RUNNING):
298-
self.startProcess(child.config.name)
298+
self.startProcess(child.group.config.name + ':' + child.config.name)
299299
else:
300300
child.transition()
301301
msg = ("waiting on dependee process {} to reach running state - currently in {}"

0 commit comments

Comments
 (0)