mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
lower the mdns timeout to 10ms (#955)
This commit is contained in:
parent
342c29de7d
commit
fa01cadc35
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user