Skip to content

RFC: Always run workers in a subprocess. #2364

Closed
@ahopkins

Description

@ahopkins

Proposal: Always run workers in a subprocess.

Currently, when in PRODUCTION mode with workers=1, the server runs in the main process. This can lead to a discrepancy since the server(s) will be in a subprocess if:

  • there are multiple workers
  • auto_reload is enabled

We can create a more consistent experience if it will always be in a subprocess.

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