Skip to content

Commit 756e26e

Browse files
The PQ cache size for a node is 1GB (#7695) (#10290)
1 parent 36c9fd5 commit 756e26e

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

+2-1
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)