Do not reap refreshing web sessions
If a web session is getting refreshed by some function, do not weblogout behind its back. Wait until no refresh activity is detected to perform weblogout. Change-Id: I3fec8ecf84e153169fa5fd10745b1f323950085f
This commit is contained in:
parent
915a2afbed
commit
a41f576206
@ -1564,7 +1564,7 @@ class XCCClient(IMMClient):
|
||||
self.fwo = None
|
||||
if self._keepalivesession:
|
||||
self._refresh_token_wc(self._keepalivesession)
|
||||
elif self._wc:
|
||||
elif self._wc and self._wc.vintage < util._monotonic_time() - 20:
|
||||
self.weblogout()
|
||||
|
||||
def fetch_psu_firmware(self):
|
||||
|
Loading…
Reference in New Issue
Block a user