From 2146597a064c91c6f4b8d43ed4d87719da2018bb Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 24 Mar 2023 18:10:13 +0100 Subject: [PATCH] cluster/services/patroni: enable dcs failsafe mode --- cluster/services/patroni/worker.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/services/patroni/worker.nix b/cluster/services/patroni/worker.nix index ccf6176..e4aca90 100644 --- a/cluster/services/patroni/worker.nix +++ b/cluster/services/patroni/worker.nix @@ -50,6 +50,7 @@ in retry_timeout = 10; maximum_lag_on_failover = 1024 * 1024; }; + failsafe_mode = true; postgresql = { use_pg_rewind = true; use_slots = true;