From be3d0894108a431fd2426b3f602881afb192c19c Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 10 Oct 2014 17:14:39 +0100 Subject: [PATCH] Shorten mDNS timeout --- server/mdns_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mdns_client.go b/server/mdns_client.go index 45edef45..48d2aa7b 100644 --- a/server/mdns_client.go +++ b/server/mdns_client.go @@ -12,7 +12,7 @@ import ( const ( ipv4mdns = "224.0.0.251" // link-local multicast address mdnsPort = 5353 // mDNS assigned port - mDNSTimeout = time.Second + mDNSTimeout = 200 * time.Millisecond MaxDuration = time.Duration(math.MaxInt64) )