Skip to content

Safely server reload #4577

@maxkain

Description

@maxkain

Server reload function does not work as needed, I can not update workers from new sources in Symfony app using k911/swoole-bundle. Sometimes it works in controllers, sometimes not. And never works in other services.
I use full server restart, but it can to interrupt current worker processes.
Is it possible to send every worker stop signal, if worker handles request wait it, else restart it fully with new source code and start handling new requests while other workers finishing current requests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions