fix: increase timeout_keep_alive and allow parameter changes (#98)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-03-16 09:03:40 +01:00
committed by GitHub
parent a212547d28
commit 07c48edd5d
2 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ class UvicornSettings(BaseSettings):
reload: bool = False
root_path: str = ""
proxy_headers: bool = True
timeout_keep_alive: int = 60
workers: Union[int, None] = None