Skip to content

Commit

Permalink
Merge pull request #102 from SEKOIA-IO/feat/trigger_heartbeat
Browse files Browse the repository at this point in the history
feat: Add heartbeat in triggers
  • Loading branch information
Darkheir authored Dec 12, 2023
2 parents 64150a0 + 680a4af commit 151a83e
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 234 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.10.0] - 2023-12-12

## Added

- Add heartbeat in triggers
The heartbeat allows to mark the trigger as not alive if no heartbeat was received for a certain amount of time.
To support this feature triggers must:
- Set the `last_heartbeat_threshold` class attribute to a value greater than 0
- Call periodically `self.heartbeat()` to update the last heartbeat date

## [1.9.0] - 2023-12-01

## Changed
Expand Down
Loading

0 comments on commit 151a83e

Please sign in to comment.