Skip to content

Implement Graceful Shutdown / Connection Draining #177

@agronick

Description

@agronick

This was present in the old version of Channels. The changelog says:

0.9.4 (2016-03-08)

  • Worker processes now exit gracefully (finish their current processing) when
    sent SIGTERM or SIGINT.

This is no longer the case.

With the new architecture in Channels 2 this ability will need to be moved to Daphne. Daphne can not stop running. It will need some kind of API to reload new code while continuing to service existing connections on the old processes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions