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

Time and Timezone synchronization across agents #173

Open
sneakers-the-rat opened this issue Apr 1, 2022 · 0 comments
Open

Time and Timezone synchronization across agents #173

sneakers-the-rat opened this issue Apr 1, 2022 · 0 comments

Comments

@sneakers-the-rat
Copy link
Contributor

Raspis (and most linux distros i think?) automatically synchronize time by default, but raspis start with their timezone set as GMT. In addition to generating data that can be hard to synchronize after the fact, this causes problems, eg. when the Subject class tries to filter old data to calculate graduation effectively.

TODO

  • In an initial connection ping, we already include sending the prefs file, we should also include sending the timezone and then warn if a difference is detected
  • Create a setup script that allows agents to be ntpd servers, and then to do local synchronization with ntp so that timestamps are <ms synchronized with each other
    • when a task is run from a terminal with multiple connected agents, this should probably be default
  • Check for time synchronization on start of any agent, warn if not done.
    • also check for sync at the start of every task run?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant