Skip to content

fix: max absence calculation continuously growing#42

Open
pfeifferj wants to merge 1 commit into5HT2B:masterfrom
pfeifferj:fix/max-absence-calculation
Open

fix: max absence calculation continuously growing#42
pfeifferj wants to merge 1 commit into5HT2B:masterfrom
pfeifferj:fix/max-absence-calculation

Conversation

@pfeifferj
Copy link
Member

The LongestAbsence function was incorrectly updating the max absence to current time when it exceeded the stored value, causing it to grow indefinitely. This fix ensures max absence only tracks completed absence periods between heartbeats.

The LongestAbsence function was incorrectly updating the max absence
to current time when it exceeded the stored value, causing it to grow
indefinitely. This fix ensures max absence only tracks completed
absence periods between heartbeats.
@pfeifferj pfeifferj changed the title Fix max absence calculation continuously growing fix: max absence calculation continuously growing Sep 23, 2025
@5HT2
Copy link
Member

5HT2 commented Jan 9, 2026

I'm struggling to understand why this change is being made, can you please explain?

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