Skip to content

Commit 8981ad8

Browse files
committed
Intermediate changes
commit_hash:4903e436010763cd61b16b226465a1485d107862
1 parent a3559d6 commit 8981ad8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

yt/yt/core/misc/concurrent_cache-inl.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ TConcurrentCache<T>::TConcurrentCache(size_t capacity, IMemoryUsageTrackerPtr tr
7474
, Capacity_(capacity)
7575
, Head_(New<TLookupTable>(
7676
capacity,
77-
TMemoryUsageTrackerGuard::TryAcquire(
77+
TMemoryUsageTrackerGuard::Acquire(
7878
MemoryUsageTracker_,
79-
TLookupTable::GetByteSize(capacity))
80-
.ValueOrThrow()))
79+
TLookupTable::GetByteSize(capacity))))
8180
{
8281
YT_VERIFY(capacity > 0);
8382
}

0 commit comments

Comments
 (0)