From af745a52472160f4ed8a5faabcd14310b81850bf Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:25:38 +0200 Subject: [PATCH] Enable 'heartbeat_on_demand_duration' in local/examples Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> --- examples/common/scripts/vttablet-up.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/common/scripts/vttablet-up.sh b/examples/common/scripts/vttablet-up.sh index 764b7c1f426..daa40aee894 100755 --- a/examples/common/scripts/vttablet-up.sh +++ b/examples/common/scripts/vttablet-up.sh @@ -53,6 +53,7 @@ vttablet \ --grpc_port $grpc_port \ --service_map 'grpc-queryservice,grpc-tabletmanager,grpc-updatestream' \ --pid_file $VTDATAROOT/$tablet_dir/vttablet.pid \ + --heartbeat_on_demand_duration=5s \ > $VTDATAROOT/$tablet_dir/vttablet.out 2>&1 & # Block waiting for the tablet to be listening