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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user