-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Make our background storage more size resilient #3076
Comments
While the write attempt fails, the storage seems to persist, suggesting this issue may not be causing any data loss. |
|
Looks like the clear correct path is storage.local. From the MDN documentation:
The storage.local API could allow for unlimited storage. |
|
Previous example of setting up MetaMask to use an async storage api here. |
Turns out much of the work to use the |
Began the work converting to It boots up fine, but doesn't seem to switch over to relying on this strategy yet (I tested by trashing the localStorage randomly and restarting after some persistance, and it reverted to first-time state, which it shouldn't do if it's falling back to a new strategy). |
@kumavis that particular sentry error refers to our send-form's persistence, not background, so it probably deserves its own issue. |
Added to that branch:
|
Fixes #3071 |
Related to #3071
Meta-issue to address #3071.
We now know that storage is overflowing for some users, and this may be causing vault loss.
We need to develop strategies to improve our storage size resilience, and implement them.
localStorage
use to the better solution (storage.local
).The text was updated successfully, but these errors were encountered: