Skip to content

Commit

Permalink
opensearch: reduce initial healthcheck delay
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Oct 25, 2024
1 parent 4f634c9 commit f816152
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 f816152

Please sign in to comment.