-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shutdown process #44
Comments
Hello! Thank you for your issue! This is a bug. It will help a lot if you tell me how to reproduce this situation :) |
Poolboy has a similar issue; it has an async shutdown. My mistake. You can reproduce the issue very quickly. You can execute the following iex sequence:
As you can see, the down message from poolex id is received before the worker one. I hope it helps. |
Hello, @alexcastano! The bug should have been fixed in version 0.7.1. |
Excellent work!! 👏🏻 👏🏻 ❤️ |
Hello!
It seems like the library doesn't handle the shutdown process. The pool dies but the workers are still alive, which is very inconvenient. I took a quick look at poolboy and it uses a supervisor where the workers are placed to handle the shutdown process correctly. Do you have a plan to do something similar?
Thank you!
The text was updated successfully, but these errors were encountered: