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
I can't find the information if Franken can restart workers but wait for busy workers to send the response first before restarting.
Here was described the behaviour I'd like to use: #1013
if a worker gets stuck in a request, the watcher will wait for the worker to finish before performing another reload (don't know if there's a better way to do this)
Maybe the restartWorkers method is what I'm looking for, but I can't find any usage of it:
I have long-running requests (file uploads), that can last hours, and I'd like a zero-downtime deployment.
To do that, I update the code and I would like to restart the workers once they are done with their current request.
Is it something I can do?
Thanks by advance for your help!
The text was updated successfully, but these errors were encountered:
Hello,
I can't find the information if Franken can restart workers but wait for busy workers to send the response first before restarting.
Here was described the behaviour I'd like to use: #1013
Maybe the
restartWorkers
method is what I'm looking for, but I can't find any usage of it:frankenphp/worker.go
Line 222 in a396e64
I have long-running requests (file uploads), that can last hours, and I'd like a zero-downtime deployment.
To do that, I update the code and I would like to restart the workers once they are done with their current request.
Is it something I can do?
Thanks by advance for your help!
The text was updated successfully, but these errors were encountered: