From 78bf276468ca8570ed6f11d92c29c51cf3edc7dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Wed, 18 Aug 2021 11:33:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9lookup=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.DomainResolve/DomainResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastGithub.DomainResolve/DomainResolver.cs b/FastGithub.DomainResolve/DomainResolver.cs index cd46fe1..e935678 100644 --- a/FastGithub.DomainResolve/DomainResolver.cs +++ b/FastGithub.DomainResolve/DomainResolver.cs @@ -23,7 +23,7 @@ namespace FastGithub.DomainResolve private readonly FastGithubConfig fastGithubConfig; private readonly ILogger logger; - private readonly TimeSpan lookupTimeout = TimeSpan.FromSeconds(1d); + private readonly TimeSpan lookupTimeout = TimeSpan.FromSeconds(2d); private readonly TimeSpan connectTimeout = TimeSpan.FromSeconds(2d); private readonly TimeSpan resolveCacheTimeSpan = TimeSpan.FromMinutes(2d); private readonly ConcurrentDictionary semaphoreSlims = new();