Skip to content

Commit b55c40f

Browse files
authored
max attempts = 5 (#282)
* cycle4 * cycle5
1 parent f026ec1 commit b55c40f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BitFaster.Caching/Lru/ConcurrentLruCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ private void Cycle(int hotCount)
446446
{
447447
(var dest, var count) = CycleHot(hotCount);
448448

449-
const int maxAttempts = 3;
449+
const int maxAttempts = 5;
450450
int attempts = 0;
451451

452452
while (attempts++ < maxAttempts)

0 commit comments

Comments
 (0)