diff --git a/src/modules/services/elasticsearch.nix b/src/modules/services/elasticsearch.nix index 2966c0b95..655ca8ea3 100644 --- a/src/modules/services/elasticsearch.nix +++ b/src/modules/services/elasticsearch.nix @@ -185,7 +185,7 @@ in process-compose = { readiness_probe = { exec.command = "${pkgs.curl}/bin/curl -f -k http://${cfg.listenAddress}:${toString cfg.port}"; - initial_delay_seconds = 15; + initial_delay_seconds = 2; period_seconds = 10; timeout_seconds = 2; success_threshold = 1; diff --git a/src/modules/services/opensearch.nix b/src/modules/services/opensearch.nix index 372cc8dc3..d3d372079 100644 --- a/src/modules/services/opensearch.nix +++ b/src/modules/services/opensearch.nix @@ -156,7 +156,7 @@ in process-compose = { readiness_probe = { exec.command = "${pkgs.curl}/bin/curl -f -k http://${cfg.settings."network.host"}:${toString cfg.settings."http.port"}"; - initial_delay_seconds = 15; + initial_delay_seconds = 2; period_seconds = 10; timeout_seconds = 2; success_threshold = 1;