Skip to content

Commit 0def003

Browse files
author
Sophia Tevosyan
committed
updated the expiration scan frequency
1 parent b5d8481 commit 0def003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Worker/Grpc/ExtendedSessionsCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal IMemoryCache GetOrInitializeCache(double expirationScanFrequencyInSecon
2525
{
2626
this.extendedSessions ??= new MemoryCache(new MemoryCacheOptions
2727
{
28-
ExpirationScanFrequency = TimeSpan.FromSeconds(expirationScanFrequencyInSeconds),
28+
ExpirationScanFrequency = TimeSpan.FromSeconds(expirationScanFrequencyInSeconds / 5),
2929
});
3030

3131
return this.extendedSessions;

0 commit comments

Comments
 (0)