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

Implement key expiration via individual setTimeouts and remove expire #31

Merged
merged 2 commits into from Jan 5, 2015

Conversation

cmawhorter
Copy link
Contributor

I noticed there was a bug in the expire loop interval, which was mirrored in the tests (which is why they were passing).

1s was specified as 100ms, when it should be 1000.

Instead of just fixing that, I swapped in something that should be significantly more accurate when expiring keys. I also fixed the tests.

faeldt added a commit that referenced this pull request Jan 5, 2015
Implement key expiration via individual setTimeouts and remove expire
@faeldt faeldt merged commit 16b74f3 into faeldt:master Jan 5, 2015
@faeldt
Copy link
Owner

faeldt commented Jan 5, 2015

Very cool. Thank you :)

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