commit 2ec44ae08eab9da5732a9d7be74fb8e3bd30cd2e parent fb12540635bee2a4a3feba47b6994a76f973eab7 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 7 Apr 2023 13:13:19 +0200 try to fix db lag Diffstat:
| M | infrastructure/configs/postgres-clusters.yaml | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/infrastructure/configs/postgres-clusters.yaml b/infrastructure/configs/postgres-clusters.yaml @@ -42,3 +42,13 @@ spec: instagram_bridge: [] volume: size: 10Gi + patroni: + failsafe_mode: false + ttl: 30 + loop_wait: 10 + retry_timeout: 10 + synchronous_commit: "on" + synchronous_standby_names: "*" + synchronous_mode_strict: false + synchronous_node_count: 1 + maximum_lag_on_failover: 33554432