-
Notifications
You must be signed in to change notification settings - Fork 195
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
Clock drift mitigation suggestion not working #121
Comments
I came across the same issue, @joknu1 have you found a workaround for this? |
No, I didn't. I still use this lib, but since the project I'm working on only cares for drift in the scale of 1 hour, it does not seem critical for our project's purpose. Le t me know if you find any workaround @Colanderr ! |
I have created a kotlin extension as a work around for this issue if anyone is interested https://gist.github.com/john-stemberger/bab63c3935cdda052d2baf92732a2b85 |
How do I register for True time as a new instacart shopper? |
@kaushikgopal Need your help. we are using vanilla version in our app and Re-sync seems impossible if cache option is enabled. Which method should I use to do re-sync in vanilla version?. Because I am using below solution
|
hello,i want to use you method. However, it can't be allowed to change this code as the library. Could you tell the solition |
@liu0527aa you can try alpha version of truetime. There you do not need to use |
I feel very embarrassed to ask where can i find the alpha version of truetime。。。And how to use the alpha version |
4.0.0.alpha @liu0527aa |
At 3.5 version, I fix this by calling
|
Under
Clock drift and the need for Re-syncing
the following is stated:However looking at the lib code gives:
which effectively skips fetching new time from NTP if value already cached in RAM. (I'm not using saving to prefs option.)
So how can I make the lib sync time every now and then?
The text was updated successfully, but these errors were encountered: