减少缓存时长
This commit is contained in:
parent
1f2c8c82ff
commit
15b31e6fa5
@ -19,7 +19,7 @@ namespace FastGithub.DomainResolve
|
||||
private readonly IMemoryCache memoryCache;
|
||||
private readonly FastGithubConfig fastGithubConfig;
|
||||
private readonly ILogger<DomainResolver> logger;
|
||||
private readonly TimeSpan cacheTimeSpan = TimeSpan.FromMinutes(1d);
|
||||
private readonly TimeSpan cacheTimeSpan = TimeSpan.FromSeconds(10d);
|
||||
|
||||
/// <summary>
|
||||
/// 域名解析器
|
||||
|
||||
Loading…
Reference in New Issue
Block a user