Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Add a consistent 5 minute clock skew accomodation#145

Merged
theacodes merged 2 commits intomasterfrom
skew
Mar 23, 2017
Merged

Add a consistent 5 minute clock skew accomodation#145
theacodes merged 2 commits intomasterfrom
skew

Conversation

@theacodes
Copy link
Copy Markdown
Contributor

Resolves #141.

/cc @vchudnov-g

Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants