Skip to content

Commit

Permalink
Fix #7247 job_cmd.default_cmd logs and sleeps
Browse files Browse the repository at this point in the history
- The sleep is a workaround until we can decide what to do.
  • Loading branch information
robnagler committed Sep 10, 2024
1 parent 6c9d0e5 commit 5205d4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sirepo/pkcli/job_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def default_command(in_file):
msg and msg.get("simulationType"),
pkdexc(),
)
# Workaround for sirepo#7247. Unlikely case, because _dispatch_compute already
# has a try.
time.sleep(0.3)
r = _maybe_parse_user_alert(e)
return pkjson.dump_pretty(r, pretty=False)

Expand Down

0 comments on commit 5205d4e

Please sign in to comment.