Skip to content

Commit eb2f396

Browse files
authored
Add a var for GUNICORN workers timeout (#551)
* Add a var for GUNICORN workers timeout * Set a default for GUNICORN workers timeout
1 parent a9c304b commit eb2f396

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

docker/s6-rc.d/backend/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ else
3333
--log-level "${LOG_LEVEL}" \
3434
--worker-class gevent \
3535
--workers "${WORKERS}" \
36-
--timeout 60
36+
--timeout "${GUNICORN_WORKERS_TIMEOUT:60}"
3737
fi

terraform/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ module "ecs_redirectioneaza" {
135135
name = "GUNICORN_WORKERS_COUNT"
136136
value = 3
137137
},
138+
{
139+
name = "GUNICORN_WORKERS_TIMEOUT"
140+
value = 60
141+
},
138142
{
139143
name = "DJANGO_Q_WORKERS_COUNT"
140144
value = 2

0 commit comments

Comments
 (0)