Skip to content

Always update HeartBeatTime when /api/jobs/heartbeat is called#492

Merged
chrisburr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:hbt-tz
Apr 22, 2025
Merged

Always update HeartBeatTime when /api/jobs/heartbeat is called#492
chrisburr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:hbt-tz

Conversation

@chrisburr

Copy link
Copy Markdown
Member

No description provided.

new_data = r.json()[0]

hbt = datetime.fromisoformat(new_data["HeartBeatTime"])
# TODO: This should be timezone aware

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fixed as part of #477

@ryuwd

ryuwd commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

LGTM (I don't have write access, but I approve nonetheless)

@chrisburr chrisburr merged commit 1ab9929 into DIRACGrid:main Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants