1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-10 21:52:01 +02:00

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

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 {