Shorten mDNS timeout
This commit is contained in:
1 parent
ed6c7cb784
commit
be3d089410
1 file changed
+1
-1
@@ -12,7 +12,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
ipv4mdns = "224.0.0.251" // link-local multicast address
|
ipv4mdns = "224.0.0.251" // link-local multicast address
|
||||||
mdnsPort = 5353 // mDNS assigned port
|
mdnsPort = 5353 // mDNS assigned port
|
||||||
mDNSTimeout = time.Second
|
mDNSTimeout = 200 * time.Millisecond
|
||||||
MaxDuration = time.Duration(math.MaxInt64)
|
MaxDuration = time.Duration(math.MaxInt64)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user