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

Add a consistent 5 minute clock skew accomodation #145

Merged
merged 2 commits into from
Mar 23, 2017
Merged

Add a consistent 5 minute clock skew accomodation #145

merged 2 commits into from
Mar 23, 2017

Conversation

theacodes
Copy link
Contributor

Resolves #141.

/cc @vchudnov-g

Copy link
Contributor

@dhermes dhermes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Teeny nit

now = _helpers.utcnow()
# Err on the side of reporting expiration early so that we avoid
# the 403-refresh-retry loop.
now = _helpers.utcnow() - _helpers.CLOCK_SKEW

This comment was marked as spam.

This comment was marked as spam.

@theacodes theacodes merged commit e60c124 into master Mar 23, 2017
@theacodes theacodes deleted the skew branch March 23, 2017 23:00
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

2 participants