Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Commit 56344f8

Browse files
committed
fix(uvicorn): Settings variable check & workers
1 parent c4d0137 commit 56344f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
port=settings.APP_PORT,
99
log_level=settings.LOG_LEVEL,
1010
use_colors=True,
11-
reload=True if settings.ENVIRONMENT is not EnvType.PRODUCTION else False
11+
reload=True if settings.ENVIRONMENT != EnvType.PRODUCTION else False,
12+
workers=1
1213
)

0 commit comments

Comments
 (0)