Skip to content

Commit 5f7f0f9

Browse files
committed
Increase puma concurrency by default
1 parent 7bb1f68 commit 5f7f0f9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

deploy/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ services:
4141
PGUSER: ${POSTGRES_USER:-postgres}
4242
PGPASSWORD: ${POSTGRES_PASSWORD:-postgres}
4343
PGDATABASE: ${POSTGRES_DB:-hackorum}
44+
# Puma concurrency
45+
WEB_CONCURRENCY: ${WEB_CONCURRENCY:-3}
46+
RAILS_MAX_THREADS: ${RAILS_MAX_THREADS:-5}
4447
# Run Solid Queue supervisor inside Puma so background jobs (emails, etc.) get processed.
4548
SOLID_QUEUE_IN_PUMA: "1"
4649
SECRET_KEY_BASE: ${SECRET_KEY_BASE}

0 commit comments

Comments
 (0)