Meteor-Community-Packages / meteor-timesync

NTP-style time synchronization between server and client, and facilities to use server time reactively in Meteor applications.
https://packosphere.com/mizzao/timesync
MIT License
118 stars 36 forks source link

Reset offset (and isSynced variable) when we detect a clock change. #6

Closed mizzao closed 10 years ago

mizzao commented 10 years ago

As raised in http://stackoverflow.com/q/24114666/586086.

We we detect a large clock change, unset the offset until we are synced again.