File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
BitFaster.Caching.UnitTests/Lfu Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ public class ConcurrentLfuBuilderTests
1212 [ Fact ]
1313 public void TestConcurrencyLevel ( )
1414 {
15- // on .net9 , -1 indicates the default concurrency level
15+ // Note that on .net8+ , -1 indicates the default concurrency level
1616 var b = new ConcurrentLfuBuilder < int , int > ( )
17- . WithConcurrencyLevel ( - 2 ) ;
17+ . WithConcurrencyLevel ( 0 ) ;
1818
1919 Action constructor = ( ) => { var x = b . Build ( ) ; } ;
2020
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace BitFaster.Caching.Lru
44{
55 internal static class Defaults
66 {
7- #if NET9_0_OR_GREATER
7+ #if NET8_0_OR_GREATER
88 public static int ConcurrencyLevel => - 1 ;
99#else
1010 public static int ConcurrencyLevel => Environment . ProcessorCount ;
You can’t perform that action at this time.
0 commit comments