diff --git a/patroni/dcs/consul.py b/patroni/dcs/consul.py index eb1a180b..105a75ab 100644 --- a/patroni/dcs/consul.py +++ b/patroni/dcs/consul.py @@ -272,7 +272,7 @@ class Consul(AbstractDCS): @property def ttl(self): - return self._client.http.ttl + return self._client.http.ttl * 2 # we multiply the value by 2 because it was divided in the `set_ttl()` method def set_retry_timeout(self, retry_timeout): self._retry.deadline = retry_timeout