From e43c98b961acf91de8633f48486bc0c1d01cde4f Mon Sep 17 00:00:00 2001 From: Nivedita Sarkar Date: Wed, 24 Apr 2024 14:25:35 -0700 Subject: [PATCH] Update the Dnssd srp resolve default timeout to 3 secs --- 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;