Skip to content
Snippets Groups Projects
Commit f2a04d59 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Fix timeout calculation error

parent e1739957
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!78Feat cod rmq,!62Feat notify user errmsg,!63Feat db handle,!55task manager fail handling
......@@ -200,7 +200,7 @@ def timeout_handler(signum, frame):
current_time = datetime.now()
for user in tuple(tracking):
print(tracking[user])
delta = tracking[user]['last_update'] - current_time
delta = current_time - tracking[user]['last_update']
if delta.seconds > timeout:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment