Skip to content

Commit

Permalink
fix workers count
Browse files Browse the repository at this point in the history
  • Loading branch information
depocoder committed Oct 11, 2024
1 parent d1fc6bc commit f5ca2ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/.env.dist
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MODEUS_USERNAME=test_username
MODEUS_PASSWORD=test_password
MODEUS_PASSWORD=test_password
YET_ANOTHER_CALENDAR_WORKERS_COUNT=10
2 changes: 1 addition & 1 deletion backend/yet_another_calendar/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Settings(BaseSettings):
host: str = "127.0.0.1"
port: int = 8000
# quantity of workers for uvicorn
workers_count: int = env.int("YET_ANOTHER_WORKERS_COUNT", 1)
workers_count: int = 1
# Enable uvicorn reloading
reload: bool = env.bool("YET_ANOTHER_CALENDAR_RELOAD", False)

Expand Down

0 comments on commit f5ca2ca

Please sign in to comment.