increased timeout from 3.5m to 10m

This commit is contained in:
rasmus 2020-12-23 10:50:11 +02:00
parent 1578176160
commit cdc604a971
2 changed files with 2 additions and 2 deletions

View File

@ -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" ]

View File

@ -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'