Skip to content

Commit ddc32d5

Browse files
Merge 11f283b into 36c9fd5
2 parents 36c9fd5 + 11f283b commit ddc32d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/driver_lib/run/kikimr_services_initializers.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,8 @@ TPersQueueL2CacheInitializer::TPersQueueL2CacheInitializer(const TKikimrRunConfi
20082008
{}
20092009

20102010
void TPersQueueL2CacheInitializer::InitializeServices(NActors::TActorSystemSetup* setup, const NKikimr::TAppData* appData) {
2011-
static const ui64 DEFAULT_PQ_L2_MAX_SIZE_MB = 8 * 1024;
2011+
static const ui64 DEFAULT_PQ_L2_MAX_SIZE_MB =
2012+
NKikimrNodeLimits::TNodeLimitsConfig_TPersQueueNodeConfig::default_instance().GetSharedCacheSizeMb();
20122013
static const TDuration DEFAULT_PQ_L2_KEEP_TIMEOUT = TDuration::Seconds(10);
20132014

20142015
NPQ::TCacheL2Parameters params;

0 commit comments

Comments
 (0)