Closed
Description
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.