Skip to content

Commit

Permalink
implement suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vsc46128 vscuser committed Feb 22, 2024
1 parent f7b38df commit e73bfe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eessi_bot_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def main():
known_jobs = job_manager.get_known_jobs()
while max_iter < 0 or i < max_iter:
# sleep poll_interval seconds (not for the first iteration)
if i != 0 and (max_iter < 0 or i < max_iter):
if i != 0:
log(
"job manager main loop: sleep %d seconds" % poll_interval,
job_manager.logfile,
Expand All @@ -683,7 +683,7 @@ def main():

try:
current_jobs = job_manager.get_current_jobs()
except Exception as err:
except RuntimeError:
i = i + 1
continue

Expand Down

0 comments on commit e73bfe6

Please sign in to comment.