From 53d9b67af72115912d8e696e248391f437a9015b Mon Sep 17 00:00:00 2001 From: shivaraj-bh Date: Wed, 7 Feb 2024 21:51:12 +0530 Subject: [PATCH] add TODO to find an alternative to start clickhouse-server during init --- nix/clickhouse/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/clickhouse/default.nix b/nix/clickhouse/default.nix index e57620b2..2be00e93 100644 --- a/nix/clickhouse/default.nix +++ b/nix/clickhouse/default.nix @@ -109,6 +109,7 @@ in setupScript = pkgs.writeShellApplication { name = "setup-clickhouse"; runtimeInputs = with pkgs; [ config.package coreutils gnugrep gawk ]; + # TODO: Find a better way to start clickhouse-server than waiting for 5 seconds: https://github.com/juspay/services-flake/pull/91#discussion_r1481710799 text = '' if test -d ${config.dataDir} then echo "Clickhouse database directory ${config.dataDir} appears to contain a database; Skipping initialization"