减少缓存时长

This commit is contained in:
xljiulang 2021-08-17 21:25:04 +08:00
parent 1f2c8c82ff
commit 15b31e6fa5

View File

@ -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>
/// 域名解析器