From cfcb2a63f05997e11595d774a4a33dd198f6eb39 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Fri, 11 Apr 2025 14:54:43 +1000 Subject: [PATCH] Try to recovery postgres --- manifests/postgres.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manifests/postgres.yaml b/manifests/postgres.yaml index cc2325d..e4ef58c 100644 --- a/manifests/postgres.yaml +++ b/manifests/postgres.yaml @@ -90,6 +90,14 @@ spec: extendedConfiguration: | max_connections = 300 shared_buffers = 128MB + max_wal_size = 1GB + min_wal_size = 80MB + wal_buffers = 16MB + fsync = off + wal_level = minimal + zero_damaged_pages = on + restore_command = '' + recovery_target = 'immediate' labels: role: primary service: