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

[RFR] Fix memory adapter reset method #7

Merged
merged 2 commits into from Aug 30, 2016
Merged

[RFR] Fix memory adapter reset method #7

merged 2 commits into from Aug 30, 2016

Conversation

jpetitcolas
Copy link

No description provided.

@@ -5,7 +5,7 @@ export default () => {
const create = dateNow => {
dictionary[id] = {
remaining: max,
reset: (dateNow + duration) / 1000,
reset: (dateNow + duration) / 1000 | 0,
Copy link
Author

Choose a reason for hiding this comment

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

Remove | 0

@Kmaschta
Copy link

👍

@djhi djhi merged commit 128a1ac into master Aug 30, 2016
@marmelab-bot
Copy link

Thanks @jpetitcolas for contributing to marmelab open-source projects!
As a sign of our gratitude, you can publish an image to advertise your brand on the marmelab website for a whole day.
Head to this page to submit your image. It will appear on Zero Dollar Homepage, powered by blockchain technology.

@djhi djhi deleted the memory_reset_fix branch August 30, 2016 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants