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

[Bug] Fix This request exceeds the MAX_WRITE_OPERATIONS_PER_MINUTE quota. errors #253

Open
NikkelM opened this issue Dec 2, 2023 · 1 comment

Comments

@NikkelM
Copy link
Owner

NikkelM commented Dec 2, 2023

This error, and the equivalent This request exceeds the MAX_WRITE_OPERATIONS_PER_HOUR quota. appear when too many write operations are performed on the chrome.storage.sync object. This is important for the extension to be able to set settings values. It is mostly used when shuffling, as the numShuffledVideosTotal counter is increased.

A solution could be to not increase that counter if the user is getting too close to using up the quota for this duration.

@NikkelM
Copy link
Owner Author

NikkelM commented Dec 6, 2023

For this to work, we would need to be able to get the currently used quota amount

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