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

Fixed bug with auto-expiring keys with no expiration time #52

Merged
merged 1 commit into from Jun 9, 2015

Conversation

jwngr
Copy link
Contributor

@jwngr jwngr commented Jun 9, 2015

Fixes #51.

Keys which do not specify an expiration time were being auto-expired due to a bug in my PR #48. The fix is to only set the expiration callback if the expiration time is actually a valid number. The test suite did not catch this because of the mocked timer. But I added a new test which would catch this issue in the future.

We should probably get a new release out so no one else upgrades and is broken.

ptarjan added a commit that referenced this pull request Jun 9, 2015
Fixed bug with auto-expiring keys with no expiration time
@ptarjan ptarjan merged commit 8111658 into ptarjan:master Jun 9, 2015
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.

weird error since last update
2 participants