I am curious about the order of starting process in Supervisor tree.
example
children = [
worker(1...),
supervisor(2...),
supervisor(3...)
]
Q1. Will supervisor(2) wait until worker(1) started?
Q2. Will supervisor(3) wait until all workers under supervisor(2) started ?
1 Like
Thank you for SUPERFAST Answer,
1 Like
Ah, still a bit curious. What If Worker under Supervisor(3) need to use something in Worker of Supervisor(2). It should work, right ?. I have some test scenario that Worker(of Supervisor(3)) want to access Worker(of Supervisor(2) which is Agent process). But it warn me randomly that no process when Worker(Sup3) do a request to Worker(Sup2).
1 Like
It depends how your Agent process is being started up. If the Agent needs to be started before the worker is started, then you should be able to see the agent process. If you have code then it would be easier to diagnose.
1 Like
You’re right, I just confuse when I test it with async: true
2 Likes