diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index e9368f87..fb598db2 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -922,8 +922,8 @@ class Session(object): sessionstokeepalive = [] for session, parms in cls.keepalive_sessions.iteritems(): if parms['timeout'] < curtime: - cls.keepalive_sessions[session]['timeout'] = 25 + \ - (random.random() * 4.9) + cls.keepalive_sessions[session]['timeout'] = \ + _monotonic_time() + 25 + (random.random() * 4.9) sessionstokeepalive.append(session) for session in sessionstokeepalive: session._keepalive()