Skip to content

Commit

Permalink
The PQ cache size for a node is 1GB (ydb-platform#7695) (ydb-platform…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alek5andr-Kotov authored and uzhastik committed Oct 14, 2024
1 parent 0a0a443 commit 2004fe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/core/driver_lib/run/kikimr_services_initializers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,8 @@ TPersQueueL2CacheInitializer::TPersQueueL2CacheInitializer(const TKikimrRunConfi
{}

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

NPQ::TCacheL2Parameters params;
Expand Down

0 comments on commit 2004fe3

Please sign in to comment.