Don't reset ping interval as failed commands do not recreate broken sessions
This commit is contained in:
parent
0299fd5d70
commit
892fb9b370
|
@ -132,9 +132,6 @@ func (s *SessionManager) SendEncryptedCommand(c *commands.CommandMessage) (comma
|
|||
return nil, errors.New("no session available")
|
||||
}
|
||||
|
||||
// Reset keepalive since we are resetting the timeout by sending a command
|
||||
s.keepAlive.Reset(pingInterval)
|
||||
|
||||
return s.session.SendEncryptedCommand(c)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue