From 78f93b5628da9b81804230e2a7077d82b7de144f Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Wed, 11 Nov 2020 14:23:24 +0300 Subject: [PATCH] Reduce healthcheck timeout after mysql fix --- .env.docker.example | 4 +--- .env.example | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.env.docker.example b/.env.docker.example index 43773d2..97ba3b7 100644 --- a/.env.docker.example +++ b/.env.docker.example @@ -52,6 +52,4 @@ DB_CACHE_TTL="+5 minutes" # Requests made each 30 seconds by default. HEALTHCHECK_ENABLED=1 HEALTHCHECK_INTERVAL=30 -# Currently madelineProto starts very slowly, -# need at least 30-60 seconds at session start. -HEALTHCHECK_REQUEST_TIMEOUT=60 \ No newline at end of file +HEALTHCHECK_REQUEST_TIMEOUT=10 \ No newline at end of file diff --git a/.env.example b/.env.example index d6c91e2..9b97ae7 100644 --- a/.env.example +++ b/.env.example @@ -52,6 +52,4 @@ DB_CACHE_TTL="+5 minutes" # Requests made each 30 seconds by default. HEALTHCHECK_ENABLED=1 HEALTHCHECK_INTERVAL=30 -# Currently madelineProto starts very slowly, -# need at least 30-60 seconds at session start. -HEALTHCHECK_REQUEST_TIMEOUT=60 \ No newline at end of file +HEALTHCHECK_REQUEST_TIMEOUT=10 \ No newline at end of file