summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew-rykov <[email protected]>2023-08-17 13:25:57 +0300
committerandrew-rykov <[email protected]>2023-08-17 16:54:49 +0300
commit8ccea506f6a55e30737068f23d49341bb25c233d (patch)
tree976c910222927d089b93952aaefa4e05aab20eaa
parentdd84a187e50add89dbfa5ec1dc15cac3f148461f (diff)
viewer healthcheck timeout
-rw-r--r--ydb/core/viewer/json_healthcheck.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/viewer/json_healthcheck.h b/ydb/core/viewer/json_healthcheck.h
index c55fc74eaa9..eb4e1e272c0 100644
--- a/ydb/core/viewer/json_healthcheck.h
+++ b/ydb/core/viewer/json_healthcheck.h
@@ -83,7 +83,7 @@ public:
}
Send(NHealthCheck::MakeHealthCheckID(), request.Release());
Timeout += Timeout * 20 / 100; // we prefer to wait for more (+20%) verbose timeout status from HC
- ctx.Schedule(TDuration::Seconds(10), new TEvents::TEvWakeup());
+ ctx.Schedule(TDuration::Seconds(Timeout), new TEvents::TEvWakeup());
Become(&TThis::StateRequestedInfo);
}