diff --git a/services/postgres.nix b/services/postgres.nix index d273c92..d19ad76 100644 --- a/services/postgres.nix +++ b/services/postgres.nix @@ -142,8 +142,8 @@ in readiness_probe = { exec.command = "${package}/bin/pg_isready -h ${bind} -p ${builtins.toString port} -d postgres"; initial_delay_seconds = 2; - period_seconds = 2; - timeout_seconds = 2; + period_seconds = 10; + timeout_seconds = 4; success_threshold = 1; failure_threshold = 5; };