Skip to content

Commit

Permalink
default switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Peck committed Dec 3, 2023
1 parent 3e3dc31 commit cb8ce8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BitFaster.Caching/Lfu/ConcurrentLfu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,8 @@ public bool ShouldDrain(bool delayable)
{
Idle => !delayable,
Required => true,
ProcessingToIdle or ProcessingToRequired => false,
_ => false,// not reachable
// ProcessingToIdle or ProcessingToRequired => false, undefined not reachable
_ => false,
};
}

Expand Down

0 comments on commit cb8ce8d

Please sign in to comment.