From 3f78516495360b3094ca08a4eb2ad43c3a5642e9 Mon Sep 17 00:00:00 2001 From: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Tue, 27 Aug 2024 17:00:16 +0200 Subject: [PATCH] swh/production: Increase counters rpc timeout The refresh_history endpoint takes more than 10s to retrieve the data from prometheus and compute the values. The cronjob regularly failed probably until enough data is in the thanos cache. Related to swh/infra/sysadm-environment#5387 --- swh/values/production/swh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/values/production/swh.yaml b/swh/values/production/swh.yaml index a345d4984..268416d67 100644 --- a/swh/values/production/swh.yaml +++ b/swh/values/production/swh.yaml @@ -2048,7 +2048,7 @@ counters: gunicorn: workers: 2 threads: 1 - timeout: 10 + timeout: 30 # autoScaling: # minReplicaCount: 2 # maxReplicaCount: 4 -- GitLab