fix pg ready cmd

This commit is contained in:
2025-03-17 17:48:19 +04:00
parent 10443ca529
commit f15818f6b6

View File

@@ -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;
};