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

Fix cache size becoming double of the defined size #13

Merged
merged 4 commits into from May 29, 2019
Merged

Fix cache size becoming double of the defined size #13

merged 4 commits into from May 29, 2019

Conversation

adityapatadia
Copy link
Contributor

this closes #10

@sindresorhus
Copy link
Owner

Can you add a test?

@sindresorhus
Copy link
Owner

The PR title could also be made clearer. It should describe what it fixes, not what was implemented.

@adityapatadia adityapatadia changed the title cache value is deleted from oldcache when moving Fixes cache size becoming double that of defined size Apr 19, 2019
@adityapatadia
Copy link
Contributor Author

I have added tests.

@hong4rc
Copy link

hong4rc commented May 15, 2019

I have added tests.

This test can't check your code

@adityapatadia
Copy link
Contributor Author

@hongarc it would be great if you can elaborate this.

@adityapatadia
Copy link
Contributor Author

@hongarc thanks a lot for PR.

@adityapatadia
Copy link
Contributor Author

I think this can be merged now.

@hong4rc
Copy link

hong4rc commented May 15, 2019

I think this can be merged now.

Just wait, he has too many pull requests need to review.

@adityapatadia
Copy link
Contributor Author

I can see it on his profile 😁

@sindresorhus sindresorhus changed the title Fixes cache size becoming double that of defined size Fix cache size becoming double of the defined size May 29, 2019
@sindresorhus sindresorhus merged commit d6c7e11 into sindresorhus:master May 29, 2019
@sindresorhus
Copy link
Owner

Looks good. Thank you @adityapatadia :)

@sindresorhus
Copy link
Owner

@adityapatadia => #17

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.

Actual cache size can go to double the maxSize
3 participants