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

TCP time servers should resync with NTP #6

Open
aaaaalbert opened this issue Dec 30, 2014 · 2 comments
Open

TCP time servers should resync with NTP #6

aaaaalbert opened this issue Dec 30, 2014 · 2 comments
Assignees

Comments

@aaaaalbert
Copy link
Contributor

Currently, the TCP time server syncs its local clock exactly once, when it is started: https://github.com/SeattleTestbed/timeserver/blob/master/time_server.repy#L89

This leaves the timestamps it returns subject to clock drift, wander, etc. of the machine's clock.

We should add a thread that regularly updates the clock using time_updatetime, perhaps every hour.

@asm582 asm582 self-assigned this Jan 2, 2015
@asm582
Copy link

asm582 commented Jan 2, 2015

working on this ticket...

@asm582
Copy link

asm582 commented Jan 18, 2015

I have used createthread to add a separate thread and call updatetime method every 15 mins.

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

No branches or pull requests

2 participants