From 0b4c61dfe1102519157b8f8896a779fa9343a743 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 4 Apr 2021 20:04:25 +0200 Subject: Try to optimize Consul --- os/config/roles/consul/templates/consul.json.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'os/config/roles') diff --git a/os/config/roles/consul/templates/consul.json.j2 b/os/config/roles/consul/templates/consul.json.j2 index 6172cc4..73446fe 100644 --- a/os/config/roles/consul/templates/consul.json.j2 +++ b/os/config/roles/consul/templates/consul.json.j2 @@ -24,10 +24,13 @@ "encrypt": "{{ consul_gossip_encrypt }}", "domain": "2.cluster.deuxfleurs.fr", "performance": { - "raft_multiplier": 10, + "raft_multiplier": 5, "rpc_hold_timeout": "30s", "leave_drain_time": "30s" }, + "dns_config": { + "allow_stale": true + }, "telemetry": { "disable_hostname": true, "prometheus_retention_time": "2h" -- cgit v1.2.3