Skip to content
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

Selective activation time update #3122

Closed

Conversation

Navid200
Copy link
Collaborator

@Navid200 Navid200 commented Oct 8, 2023

After a hard reset of a mod transmitter, the read time stamp becomes a very large value. I am not sure. But, this could be because of a format mismanagement of a negative number, turning a very small negative value into a very large positive value (6214 days or 17 years)!

The activation time calculated from that goes back to 2006. When this is written into the persistent store, resulting transmitter days value becomes invalid (unknown).

This PR avoids writing into the persistent store an activation time that is so far back in the past.

Tests show that the lock situation reported by users (#3078) does not happen any longer after this PR.

@Navid200 Navid200 marked this pull request as draft October 9, 2023 14:09
@Navid200
Copy link
Collaborator Author

Navid200 commented Oct 9, 2023

Will open another to address this better.

@Navid200 Navid200 closed this Oct 9, 2023
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