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

After reinitializing a cache from localStorage, info().size returns 0 #1

Closed
sloops77 opened this issue Sep 17, 2015 · 4 comments
Closed
Labels

Comments

@sloops77
Copy link

if the cache needs to reinitialize from local storage, lets say 10 items: cache.keys().length === 10 but cache.info().size === 0. During setStorageMode the $$lruHeap should be initialized, right?

@jmdobry jmdobry added the bug label Sep 17, 2015
@jmdobry
Copy link
Owner

jmdobry commented Sep 17, 2015

Yes, this is a bug.

@sloops77
Copy link
Author

i can fix it tomorrow if you like and send a pr

@jmdobry
Copy link
Owner

jmdobry commented Sep 17, 2015

This is somewhat of an involved fix, because right now the $$exiresHeap isn't getting initialized either. I'm planning to fix it on Saturday when I finally have internet at my house.

@sloops77
Copy link
Author

ok

On 17 Sep 2015, at 22:27, Jason Dobry notifications@github.com wrote:

This is somewhat of an involved fix, because right now the $$exiresHeap isn't getting initialized either. I'm planning to fix it on Saturday when I finally have internet at my house.


Reply to this email directly or view it on GitHub #1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants