Skip to content

Commit

Permalink
Merge pull request #1552 from cachix/opensearch-delay
Browse files Browse the repository at this point in the history
opensearch: reduce initial healthcheck delay
  • Loading branch information
domenkozar authored Oct 25, 2024
2 parents abdb30a + f816152 commit 51b1cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/services/elasticsearch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/services/opensearch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51b1cc7

Please sign in to comment.