mirror of
https://opendev.org/x/pyghmi
synced 2025-02-10 15:54:29 +00:00
Correct the choice of slow/fast timeout
Change-Id: I2237dcc9cda84805134c1c369a9f68d31558d59d
This commit is contained in:
parent
5b2cc5bea7
commit
6226d4bb29
@ -1763,11 +1763,11 @@ class Session(object):
|
||||
self._mark_broken()
|
||||
return
|
||||
else:
|
||||
self.maxtimeout = 6
|
||||
self.maxtimeout = 2
|
||||
if self.sessioncontext == 'ESTABLISHED':
|
||||
self.onlogpayload = self.lastpayload
|
||||
self.onlogpayloadtype = self.last_payload_type
|
||||
self.maxtimeout = 2
|
||||
self.maxtimeout = 6
|
||||
self._relog()
|
||||
return
|
||||
elif self.sessioncontext == 'FAILED':
|
||||
|
Loading…
x
Reference in New Issue
Block a user