fix: update uvicorn command to use 10 workers for improved performance
Test / test (pull_request) Successful in 15s
Test / test (pull_request) Successful in 15s
This commit is contained in:
@@ -82,8 +82,8 @@ uv sync
|
||||
# 3. Применяем миграции
|
||||
uvx alembic upgrade head
|
||||
|
||||
# 4. Запускаем API
|
||||
uvx uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
|
||||
# 4. Запускаем API (10 воркеров без hot-reload) или включаем reload при необходимости
|
||||
uvx uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 10
|
||||
```
|
||||
|
||||
PostgreSQL/Redis можно поднять вручную или командой `docker compose -f docker-compose-dev.yml up postgres redis -d`.
|
||||
|
||||
Reference in New Issue
Block a user