Skip to content

Commit bd292ae

Browse files
committed
disable warmup for root hive
1 parent 5db97d8 commit bd292ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/mind/hive/tx__load_everything.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class TTxLoadEverything : public TTransactionBase<THive> {
181181
}
182182

183183
Self->BuildCurrentConfig();
184-
Self->WarmUp = Self->CurrentConfig.GetWarmUpEnabled();
184+
Self->WarmUp = Self->CurrentConfig.GetWarmUpEnabled() && !Self->AreWeRootHive();
185185

186186
Self->DefaultResourceMetricsAggregates.MaximumCPU.SetWindowSize(TDuration::MilliSeconds(Self->GetMetricsWindowSize()));
187187
Self->DefaultResourceMetricsAggregates.MaximumMemory.SetWindowSize(TDuration::MilliSeconds(Self->GetMetricsWindowSize()));

0 commit comments

Comments
 (0)