From a2c18ac2e1247f620f96983aae0be02238b95ec9 Mon Sep 17 00:00:00 2001 From: Nivi Sarkar <55898241+nivi-apple@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:28:00 -0700 Subject: [PATCH] Update the Dnssd srp resolve default timeout to 3 secs (#33150) --- src/platform/Darwin/DnssdImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Darwin/DnssdImpl.cpp b/src/platform/Darwin/DnssdImpl.cpp index b80e5958310e68..a8c488f559c59f 100644 --- a/src/platform/Darwin/DnssdImpl.cpp +++ b/src/platform/Darwin/DnssdImpl.cpp @@ -39,7 +39,7 @@ constexpr char kLocalDot[] = "local."; constexpr char kSRPDot[] = "default.service.arpa."; // The extra time in milliseconds that we will wait for the resolution on the SRP domain to complete. -constexpr uint16_t kSRPTimeoutInMsec = 250; +constexpr uint16_t kSRPTimeoutInMsec = 3000; constexpr DNSServiceFlags kRegisterFlags = kDNSServiceFlagsNoAutoRename; constexpr DNSServiceFlags kBrowseFlags = kDNSServiceFlagsShareConnection;