no limit to sender discoveries

This commit is contained in:
Zack Scholl 2019-05-02 11:47:19 -07:00
parent aae63876d6
commit 9cf4050913
1 changed files with 2 additions and 2 deletions

View File

@ -250,9 +250,9 @@ func (c *Client) Send(options TransferOptions) (err error) {
// look for peers first
go func() {
discoveries, err := peerdiscovery.Discover(peerdiscovery.Settings{
Limit: 1,
Limit: -1,
Payload: []byte(c.Options.RelayPorts[0]),
Delay: 10 * time.Millisecond,
Delay: 5 * time.Millisecond,
TimeLimit: 30 * time.Second,
})
log.Debugf("discoveries: %+v", discoveries)