You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When child process of Pool process is restarted with call process.Exit("restart") (for the first time it is restarted as expected) it is deleted from pool.monitors but the new child is not added to pool.monitors so when process.Exit("restart") is called the child process is not restarted.
To Reproduce
Steps to reproduce the behavior:
Create a pool with eg. 1 worker
call process.Exit("restart") from child process
When process is restarted call process.Exit("restart") again
process is not restarted
Expected behavior
After each call process.Exit("restart") the process should be restarted
Environment (please complete the following information):
Arch: x86_64
OS: Linux
Framework Version: 2.2.4
The text was updated successfully, but these errors were encountered:
Describe the bug
When child process of Pool process is restarted with call process.Exit("restart") (for the first time it is restarted as expected) it is deleted from pool.monitors but the new child is not added to pool.monitors so when process.Exit("restart") is called the child process is not restarted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After each call process.Exit("restart") the process should be restarted
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: