From 2f6e4daaf77b7a64e6d144133fcdbf06ac7cac94 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:07:45 +0200 Subject: [PATCH] Increase dns lookup timeout --- ts/util/dns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/util/dns.ts b/ts/util/dns.ts index 501a7106d..4388df9cc 100644 --- a/ts/util/dns.ts +++ b/ts/util/dns.ts @@ -16,7 +16,7 @@ import { drop } from './drop'; import type { DNSFallbackType } from '../types/DNSFallback'; import { SECOND } from './durations'; -const LOOKUP_TIMEOUT_MS = 1 * SECOND; +const LOOKUP_TIMEOUT_MS = 5 * SECOND; const fallbackAddrs = new Map>(); export function setFallback(dnsFallback: DNSFallbackType): void {