Skip to content

Commit 01d27db

Browse files
author
Alex Peck
committed
cleanup
1 parent f790a7d commit 01d27db

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

BitFaster.Caching.UnitTests/Lfu/ConcurrentLfuBuilderTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public class ConcurrentLfuBuilderTests
1212
[Fact]
1313
public void TestConcurrencyLevel()
1414
{
15-
// Note that on .net8+, -1 indicates the default concurrency level
1615
var b = new ConcurrentLfuBuilder<int, int>()
1716
.WithConcurrencyLevel(0);
1817

BitFaster.Caching/Lru/Defaults.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace BitFaster.Caching.Lru
55
internal static class Defaults
66
{
77
#if NET8_0_OR_GREATER
8+
// Note that on .net8+, -1 indicates the default concurrency level
89
public static int ConcurrencyLevel => -1;
910
#else
1011
public static int ConcurrencyLevel => Environment.ProcessorCount;

0 commit comments

Comments
 (0)