Skip to content

Commit

Permalink
Increase KattGpt channel cache duration to 4 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
selfdocumentingcode committed Nov 24, 2024
1 parent 417d5cd commit 1ad277c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kattbot/Services/KattGpt/KattGptCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class KattGptChannelCache
private const int CacheSize = 128;

private const int AbsoluteCacheDurationInDays = 7;
private const int SlidingCacheDurationInHours = 1;
private const int SlidingCacheDurationInHours = 4;

private readonly MemoryCache _cache = new(
new MemoryCacheOptions
Expand Down

0 comments on commit 1ad277c

Please sign in to comment.