reduce caching to 1 week
This commit is contained in:
parent
2e8313301b
commit
1d8e622ab5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue