Skip to content

Commit

Permalink
Update when the last heartbeat was sent to the ECP
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 26, 2024
1 parent 2de4b58 commit 02d3f5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

* Ensure that the monitor tool URL includes the `/heartbeat` route.

### 🔧 Fix

* Update when the last heartbeat was sent to the ECP.


## 0.1.1 - December 26, 2024

Expand Down
2 changes: 2 additions & 0 deletions src/lvmbeat/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ async def update(self):
"Possible error emitting dome heartbeat. "
"The lcmecp heartbeat command failed."
)
else:
self._last_emitted_ecp = time()

async def emit_outside(self):
"""Emits a heartbeat to the outside world."""
Expand Down

0 comments on commit 02d3f5e

Please sign in to comment.