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
100
100
})
101
101
}
102
102
103
- d .entriesChan = make (chan * mdns.ServiceEntry , 4 )
103
+ d .entriesChan = make (chan * mdns.ServiceEntry )
104
104
go func () {
105
105
for entry := range d .entriesChan {
106
106
port := toDiscoveryPort (entry )
@@ -119,7 +119,7 @@ func (d *MDNSDiscovery) StartSync(eventCB discovery.EventCallback, errorCB disco
119
119
// Query doesn't stop right away when we call d.Stop()
120
120
// neither we have to any to do it, we can only wait for it
121
121
// to return.
122
- queriesChan := make (chan * mdns.ServiceEntry , 4 )
122
+ queriesChan := make (chan * mdns.ServiceEntry )
123
123
params := & mdns.QueryParam {
124
124
Service : mdnsServiceName ,
125
125
Domain : "local" ,
You can’t perform that action at this time.
0 commit comments