fix: two API processes by default and the worker drains its queue
The API ran as one uvicorn process, so a slow 150 MB PDF check at checkout held every other request; WEB_CONCURRENCY now comes from API_WORKERS (default 2, 1 restores one process) and the api /tmp grows to 512 MiB for two checks at once. The worker delivered one outbox job per second; it now drains up to 50 per pass before its periodic tasks. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,8 @@ PUBLIC_HOST=dtf.example.invalid
|
||||
KANBAN_HOST=kanban-dtf.example.invalid
|
||||
SITE_PORT=8080
|
||||
KANBAN_PORT=8081
|
||||
# API processes: 2 by default; 1 runs one process, as before. API only.
|
||||
API_WORKERS=2
|
||||
|
||||
R2_ENDPOINT=TBD
|
||||
R2_PUBLIC_ENDPOINT=TBD
|
||||
|
||||
Reference in New Issue
Block a user