Add --workers
parameter to the dev command
#143
Unanswered
AliHezarpisheh
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Feature Request: Add
--workers
Parameter tofastapi dev
CommandProblem:
Currently, the
fastapi dev
command does not accept the--workers
parameter. In my development environment, I want to mimic a distributed environment similar to production, but I cannot achieve this withfastapi dev
. Instead, I must usefastapi run
, which is less ideal for development.Proposed Solution:
Add support for the
--workers
parameter to thefastapi dev
command. This would allow developers to run multiple workers in their development environment.Additional Context:
I am open to implementing this feature and submitting a PR if approved by the maintainers.
Operating System
Linux
Operating System Details
Doesn't matter.
Python Version
3
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions