Skip to content

Commit

Permalink
Configure requests timeout for zimfarm
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Sep 19, 2023
1 parent 283ef5f commit d426e44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zimfarm/api/api-configs.cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ data:
UWSGI_PROCESSES: "64"
UWSGI_CHEAPER_INITIAL: "8"
ALEMBIC_UPGRADE_HEAD_ON_START: ""
# Timeout for requests to other services
REQ_TIMEOUT_NOTIFICATIONS: "5"
REQ_TIMEOUT_CMS: "50"
REQ_TIMEOUT_GHCR: "10"

4 changes: 4 additions & 0 deletions zimit/api/api-configs.cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ data:
LOGS_EXPIRATION: "7"
ZIMFARM_DISALLOW_CAPABILITIES: "y"
ALEMBIC_UPGRADE_HEAD_ON_START: "y"
# Timeout for requests to other services
REQ_TIMEOUT_NOTIFICATIONS: "5"
REQ_TIMEOUT_CMS: "50"
REQ_TIMEOUT_GHCR: "10"

0 comments on commit d426e44

Please sign in to comment.