mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
reduce caching to 1 week
This commit is contained in:
@@ -24,7 +24,7 @@ namespace BirdsiteLive.Twitter
|
|||||||
// Keep in cache for this time, reset time if accessed.
|
// Keep in cache for this time, reset time if accessed.
|
||||||
.SetSlidingExpiration(TimeSpan.FromHours(24))
|
.SetSlidingExpiration(TimeSpan.FromHours(24))
|
||||||
// Remove from cache after this time, regardless of sliding expiration
|
// Remove from cache after this time, regardless of sliding expiration
|
||||||
.SetAbsoluteExpiration(TimeSpan.FromDays(30));
|
.SetAbsoluteExpiration(TimeSpan.FromDays(7));
|
||||||
|
|
||||||
#region Ctor
|
#region Ctor
|
||||||
public CachedTwitterUserService(ITwitterUserService twitterService)
|
public CachedTwitterUserService(ITwitterUserService twitterService)
|
||||||
|
Reference in New Issue
Block a user