From cdc604a9714bc1cbb1e816f97671f4c9cedc00a8 Mon Sep 17 00:00:00 2001 From: rasmus Date: Wed, 23 Dec 2020 10:50:11 +0200 Subject: [PATCH] increased timeout from 3.5m to 10m --- Dockerfile | 2 +- prometheus.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09c7aff..62e0bb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY . . EXPOSE 80 # port 80, one worker, 210s timeout, from prom.py file. -CMD [ "gunicorn", "-b :8000", "-w 1", "-t 210", "prom:app" ] +CMD [ "gunicorn", "-b :8000", "-w 1", "-t 720", "prom:app" ] diff --git a/prometheus.yml b/prometheus.yml index a085aaf..82cce39 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -1,6 +1,6 @@ # This is supplied to test bss, not run it. global: - scrape_interval: 215s # Set the scrape interval to every 15 seconds. Default is every 1 minute. + scrape_interval: 730s # Set the scrape interval to every 15 seconds. Default is every 1 minute. scrape_configs: - job_name: 'prometheus'