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

adjust TimeFreeze on reboot rather than dropping it #30

Merged
merged 2 commits into from Oct 18, 2017

Conversation

craffert0
Copy link
Contributor

@craffert0 craffert0 commented Oct 17, 2017

Good can be better then None. We'd rather have the
best guess at the correct time rather than no time at all, so rather
than dropping a persisted TimeFreeze on reboot, assume the current device
time is consistent with the previous device time.

Good can be better then None. There are times we'd rather have the
best guess at the correct time rather than no time at all, so rather
than dropping a persisted TimeFreeze on reboot, assume the current device
time is consistent with the previous device time.

https://jira.lyft.net/browse/NETWORK-1324
@craffert0
Copy link
Contributor Author

👮‍♀️

@craffert0
Copy link
Contributor Author

👀 @Reflejo

@Reflejo
Copy link
Contributor

Reflejo commented Oct 17, 2017

I'll merge it once tests pass, thanks!

@craffert0
Copy link
Contributor Author

🔒 @Reflejo I just realized that in order to make this all work in Lyft-iOS, I really need to just do the reset unconditionally. Because TimeFreeze is privately loaded in Clock's initialization.

I'll update the PR.

@craffert0
Copy link
Contributor Author

🔓

@craffert0
Copy link
Contributor Author

@Reflejo 25 minutes ago, I added another commit on craffert0/Kronos, but it's not showing up here. Should I close this and do a new PR?

@craffert0
Copy link
Contributor Author

Ugh finally, github picked up the commit.

@craffert0
Copy link
Contributor Author

🍔

@craffert0
Copy link
Contributor Author

🌍

@keith
Copy link
Member

keith commented Oct 17, 2017

Heads up, SQ doesn't work on public repos

@keith
Copy link
Member

keith commented Oct 17, 2017

I've restarted the build from the travis UI for you

@craffert0 craffert0 changed the title optionally adjust TimeFreeze on reboot rather than dropping it adjust TimeFreeze on reboot rather than dropping it Oct 17, 2017
@craffert0
Copy link
Contributor Author

🚀 I know it won't automatically work, though.

@Reflejo Reflejo merged commit cae2cb1 into MobileNativeFoundation:master Oct 18, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants