2
0
mirror of https://opendev.org/x/pyghmi synced 2026-01-12 03:02:33 +00:00

Try to log out of a stale web session

Over time, confluent was inflicting multiple web
sessions, seemingly worse lately.

Change to attempt logout to avoid filling up web sessions.

Change-Id: I1b2e4e1a55bb26b9799973659c444fc15ade059d
This commit is contained in:
Jarrod Johnson
2021-10-19 16:04:53 -04:00
parent 19ad8680a3
commit e6fd1be7cc

View File

@@ -1565,7 +1565,7 @@ class XCCClient(IMMClient):
if self._keepalivesession:
self._refresh_token_wc(self._keepalivesession)
elif self._wc:
self._wc = None
self.weblogout()
def fetch_psu_firmware(self):
psudata = self.get_cached_data('lenovo_cached_psu')