Update lastReconnect
This commit is contained in:
parent
b1d71d3525
commit
e7d67344d3
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ func (p *Peer) Handle(ctx context.Context) error {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lastReconnect = time.Now()
|
||||||
sendRetries = 0
|
sendRetries = 0
|
||||||
lastSend = time.Now()
|
lastSend = time.Now()
|
||||||
if _, err := p.Send(p.Transport.NewOpenReqPacket(nil)); err != nil {
|
if _, err := p.Send(p.Transport.NewOpenReqPacket(nil)); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue