From f1a95e1cb6f5c5bf721a8f8cab0ae56865733661 Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Tue, 20 Feb 2024 07:48:40 +0200 Subject: [PATCH] Enable 'heartbeat_on_demand_duration' in local/examples (#15204) 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