File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ func (d *MDNSDiscovery) StartSync(eventCB discovery.EventCallback, errorCB disco
100100 })
101101 }
102102
103- d .entriesChan = make (chan * mdns.ServiceEntry , 4 )
103+ d .entriesChan = make (chan * mdns.ServiceEntry )
104104 go func () {
105105 for entry := range d .entriesChan {
106106 port := toDiscoveryPort (entry )
@@ -119,7 +119,7 @@ func (d *MDNSDiscovery) StartSync(eventCB discovery.EventCallback, errorCB disco
119119 // Query doesn't stop right away when we call d.Stop()
120120 // neither we have to any to do it, we can only wait for it
121121 // to return.
122- queriesChan := make (chan * mdns.ServiceEntry , 4 )
122+ queriesChan := make (chan * mdns.ServiceEntry )
123123 params := & mdns.QueryParam {
124124 Service : mdnsServiceName ,
125125 Domain : "local" ,
You can’t perform that action at this time.
0 commit comments