Browse Source
Update MvcCachedApplicationConfigurationClient.cs
pull/10641/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.Client/Volo/Abp/AspNetCore/Mvc/Client/MvcCachedApplicationConfigurationClient.cs
|
|
@ -57,7 +57,7 @@ namespace Volo.Abp.AspNetCore.Mvc.Client |
|
|
async () => await ApplicationConfigurationAppService.GetAsync(), |
|
|
async () => await ApplicationConfigurationAppService.GetAsync(), |
|
|
() => new DistributedCacheEntryOptions |
|
|
() => new DistributedCacheEntryOptions |
|
|
{ |
|
|
{ |
|
|
AbsoluteExpirationRelativeToNow = TimeSpan.FromSeconds(30) //TODO: Should be configurable.
|
|
|
AbsoluteExpirationRelativeToNow = TimeSpan.FromSeconds(300) //TODO: Should be configurable.
|
|
|
} |
|
|
} |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
|