We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2370298 + cfde1cf commit c5a8b60Copy full SHA for c5a8b60
diracx-logic/src/diracx/logic/jobs/status.py
@@ -212,7 +212,8 @@ async def set_job_statuses(
212
await job_parameters_db.upsert(res["VO"], job_id, {"Status": new_status})
213
214
for upd_time in update_times:
215
- if status_dict[upd_time]["Source"].startswith("Job"):
+ source = status_dict[upd_time]["Source"]
216
+ if source.startswith("Job") or source == "Heartbeat":
217
job_data["HeartBeatTime"] = str(upd_time)
218
219
if not start_time and new_start_time:
0 commit comments