increase identify delay to 500ms
This commit is contained in:
parent
bff416bf7e
commit
d15e65b95b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue