From 755ae95b5ec89d9318494b680d29ab573c49ae89 Mon Sep 17 00:00:00 2001 From: agusev Date: Mon, 9 Oct 2023 12:05:01 +0300 Subject: [PATCH] Changed max_attempts --- docker-compose-production.yml | 6 +++--- docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose-production.yml b/docker-compose-production.yml index a92c50d..21beb46 100644 --- a/docker-compose-production.yml +++ b/docker-compose-production.yml @@ -28,8 +28,8 @@ services: constraints: [ node.role == manager ] restart_policy: condition: on-failure - delay: 5s - max_attempts: 5 + delay: 10s + max_attempts: 100 window: 120s secrets: @@ -42,4 +42,4 @@ networks: rmq-net: name: rmq-net external: true - tg-bot-net: \ No newline at end of file + tg-bot-net: diff --git a/docker-compose.yml b/docker-compose.yml index 52fa1a2..7f5faf6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,8 +35,8 @@ services: deploy: restart_policy: condition: on-failure - delay: 5s - max_attempts: 5 + delay: 10s + max_attempts: 100 window: 120s secrets: