lower the mdns timeout to 10ms (#955)

This commit is contained in:
Asim Aslam 2019-11-18 12:50:51 +00:00 committed by GitHub
parent 342c29de7d
commit fa01cadc35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ type mdnsRegistry struct {
func newRegistry(opts ...Option) Registry {
options := Options{
Context: context.Background(),
Timeout: time.Millisecond * 100,
Timeout: time.Millisecond * 10,
}
for _, o := range opts {