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

persistent storage maximum size reached #339

Open
slr opened this issue Jan 16, 2016 · 2 comments
Open

persistent storage maximum size reached #339

slr opened this issue Jan 16, 2016 · 2 comments

Comments

@slr
Copy link
Collaborator

slr commented Jan 16, 2016

I have few account profiles and 1216 profiles and 1368 avatars of other twisters stored in localStorage currently. few days ago I've reached situation when new mentions can't be stored because of

NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

so I got to say that we need to remake scheme of storing and cleaning of data in storage.

@slr
Copy link
Collaborator Author

slr commented Jan 16, 2016

in c07e628 we have cleaning up of localStorage via removing of old avatars and profiles, it happens when we open home page. currently the time is 24 hours to consider them as old but we need to clarify this.

@slr
Copy link
Collaborator Author

slr commented Jan 16, 2016

on first run of cleanupStorage() I got:

cleaning of storage is completed for 0.3619999885559082s
1356 cached avatars was too old, deleted
1202 cached profiles was too old, deleted
there was 2621 items in total, now 63

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

No branches or pull requests

1 participant