Browse Source

limit relay selection to 20

pull/598/head
vyzo 6 years ago
parent
commit
e8e2ab1930
  1. 2
      p2p/host/relay/autorelay.go

2
p2p/host/relay/autorelay.go

@ -149,7 +149,7 @@ again:
return
}
pis = ar.selectRelays(ctx, pis, 50)
pis = ar.selectRelays(ctx, pis, 20)
update := 0
for _, pi := range pis {

Loading…
Cancel
Save