From f32d99fb0672ab8cdde1ce3300398ac9e711986f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Sun, 11 Aug 2024 15:03:18 +0200 Subject: [PATCH] store-db: increase consul alert tresholds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/store-db.yml | 7 +++++++ ansible/requirements.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ansible/group_vars/store-db.yml b/ansible/group_vars/store-db.yml index dba8fe8..11e907a 100644 --- a/ansible/group_vars/store-db.yml +++ b/ansible/group_vars/store-db.yml @@ -56,6 +56,13 @@ postgres_system_setting_stage: max_parallel_workers: '4' max_parallel_maintenance_workers: '2' +# Consul +postgres_ha_consul_check_interval: '60s' +postgres_ha_consul_check_timeout: '5s' +postgres_ha_consul_success_before_passing: 1 +postgres_ha_consul_failures_before_warning: 5 +postgres_ha_consul_failures_before_critical: 10 + # Open PostgreSQL Port open_ports_default_comment: '{{ postgres_ha_service_name }}' open_ports_default_chain: 'SERVICES' diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 335a203..333215d 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -26,4 +26,4 @@ - name: infra-role-postgres-ha src: git@github.com:status-im/infra-role-postgres-ha.git - version: 4ac216d316256f606761707ffea6d8756e7948a7 + version: 04b78168fd8024e8af2c6ec1d0ee28eeea7742a2