Skip to content

Commit

Permalink
fix(runner): set uvicorn keep-alive (#3198)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauyon committed Nov 7, 2022
1 parent 2750460 commit 22bd3f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bentoml_cli/worker/runner.py
Expand Up @@ -127,6 +127,7 @@ def main(
uvicorn_options: dict[str, int | None | str] = {
"log_config": None,
"workers": 1,
"timeout_keep_alive": 1800,
}

if psutil.WINDOWS:
Expand Down

0 comments on commit 22bd3f8

Please sign in to comment.