Skip to content

Commit

Permalink
add fixme for clickhouse-client readiness_probe
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh committed Feb 27, 2024
1 parent 29efe89 commit 6849689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nix/clickhouse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ in
command = "${lib.getExe startScript}";

readiness_probe = {
# FIXME: revert back to clickhouse-client readiness_probe once CI is moved out of github public runners
# See: https://github.com/juspay/services-flake/issues/100
# exec.command = ''${config.package}/bin/clickhouse-client --query "SELECT 1" --port ${builtins.toString config.port}'';
http_get = {
host = "localhost";
port = if (lib.hasAttr "http_port" config.extraConfig) then config.extraConfig.http_port else 8123;
Expand Down

0 comments on commit 6849689

Please sign in to comment.