-
Notifications
You must be signed in to change notification settings - Fork 1
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
Periodically update boards' local time and synchronize flushes #54
Comments
Agreed, second one looks cool and we stay super in sync. Maybe we can establish a counter, like every 5 flushes. I don't think the performance would improve any noticeably, but still I think syncining at every flush is not needed. |
So the only way to send an SNTP request via a method exposed by
However, this makes me think that the board is already sending SNTP requests periodically in the background, and the board is already set in this mode: followifier/board/followifier/main/components/sync.c Lines 24 to 29 in f44a3f2
@madt1m what do you think? |
Let's sniff and see if NTP requests are sent periodically. I will also check the source code of the sntp module. |
Nope, NTP requests are not sent periodically, I was wrong. I'll keep diving in. |
What about have it set up by the server together with the synchronization? I have some idea of how it could be done. I can work on it tonight |
After a brief discussion, we've come up with some ideas to mantain timestamps synced and use that information to sync flushes on the same timeslot for every board. |
Synchronization among boards should have been fixed here 23c7c08. Only synchronization with server is left |
Needed for long-term statistics. |
Cherry-picked in 177eb20. After a few tests, we can close this. |
I'll test this one out since I'm the only one that has more than one board. If I'm wrong, please let me know... |
Could be done:
Second one looks easier.
The text was updated successfully, but these errors were encountered: