We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda7622 commit 72a6906Copy full SHA for 72a6906
src/System.Linq.Dynamic.Core/Parser/ConstantExpressionHelper.cs
@@ -5,11 +5,7 @@ namespace System.Linq.Dynamic.Core.Parser
5
{
6
internal static class ConstantExpressionHelper
7
8
-#if DEBUG
9
- private static readonly TimeSpan TimeToLivePeriod = TimeSpan.FromSeconds(10);
10
-#else
11
private static readonly TimeSpan TimeToLivePeriod = TimeSpan.FromMinutes(10);
12
-#endif
13
14
public static readonly ThreadSafeSlidingCache<object, Expression> Expressions = new(TimeToLivePeriod);
15
private static readonly ThreadSafeSlidingCache<Expression, string> Literals = new(TimeToLivePeriod);
0 commit comments