Skip to content

Commit

Permalink
Update the Dnssd srp resolve default timeout to 3 secs (#33150)
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple authored Apr 24, 2024
1 parent fe54a37 commit a2c18ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Darwin/DnssdImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2c18ac

Please sign in to comment.