aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/consul/templates/consul.json.j2
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-04-04 20:04:25 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-04-04 20:04:25 +0200
commit0b4c61dfe1102519157b8f8896a779fa9343a743 (patch)
treec455ff07365cb4e09ffc5cdb1088ad5ec6413ad2 /os/config/roles/consul/templates/consul.json.j2
parente9794349701b6b844e3ba2d918d96227f6410b2f (diff)
downloadinfrastructure-0b4c61dfe1102519157b8f8896a779fa9343a743.tar.gz
infrastructure-0b4c61dfe1102519157b8f8896a779fa9343a743.zip
Try to optimize Consul
Diffstat (limited to 'os/config/roles/consul/templates/consul.json.j2')
-rw-r--r--os/config/roles/consul/templates/consul.json.j25
1 files changed, 4 insertions, 1 deletions
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"