Skip to content

Fix repeater/room server uptime rollover issue. #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

oltaco
Copy link
Contributor

@oltaco oltaco commented Jun 24, 2025

Currently total_up_time_secs is based on millis() so the maximum is ~50 day before it rolls over to 0.

This PR adds a bootTime var to CommonCLI which gets set at first time sync, after which we can use that to compute uptime in seconds.

@oltaco oltaco marked this pull request as draft June 25, 2025 09:55
@oltaco
Copy link
Contributor Author

oltaco commented Jun 25, 2025

I just realised that this likely needs changes to work properly in the case of nodes with RTC installed. Any other issues with it @ripplebiz ?

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.

1 participant