🐛 fix(__main__.py): change default number of worker processes from 2 to 1 to improve performance
This commit is contained in:
parent
f7a404be22
commit
f229524cf5
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ def run(
|
|||
"127.0.0.1", help="Host to bind the server to.", envvar="LANGFLOW_HOST"
|
||||
),
|
||||
workers: int = typer.Option(
|
||||
2, help="Number of worker processes.", envvar="LANGFLOW_WORKERS"
|
||||
1, help="Number of worker processes.", envvar="LANGFLOW_WORKERS"
|
||||
),
|
||||
timeout: int = typer.Option(300, help="Worker timeout in seconds."),
|
||||
port: int = typer.Option(7860, help="Port to listen on.", envvar="LANGFLOW_PORT"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue