increase identify delay to 500ms

This commit is contained in:
vyzo 2018-10-12 18:06:04 +03:00
parent bff416bf7e
commit d15e65b95b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func (as *AmbientAutoNAT) Connected(net inet.Network, c inet.Conn) {
go func() {
// add some delay for identify
time.Sleep(250 * time.Millisecond)
time.Sleep(500 * time.Millisecond)
protos, err := as.host.Peerstore().SupportsProtocols(p, AutoNATProto)
if err != nil {