Skip to content

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