When updating the options in the popup too many times in a short time, the Chrome browser isn't to happy about it and print the error: This request exceeds the MAX_WRITE_OPERATIONS_PER_MINUTE quota. and won't save the changes. (Not sure about Firefox's behaviour yet)
See the storage API for more information about the error.
It seems like, we should not exceed 2 write operations per second.
Possible solutions that come to mind:
Throttle the save operations with a debounce mechanism
Manually track the amount of changes and print a user friendly warning in the popup, when too many changes are made in a short time
Not the most elegant solutions, but it seems to do the trick for now: 659fb04, 90cd9a5.
Especially 90cd9a5 was responsible for the regularly MAX_WRITE_OPERATIONS_PER_MINUTE error.
When updating the options in the popup too many times in a short time, the Chrome browser isn't to happy about it and print the error:
This request exceeds the MAX_WRITE_OPERATIONS_PER_MINUTE quota.
and won't save the changes. (Not sure about Firefox's behaviour yet)See the storage API for more information about the error.
It seems like, we should not exceed 2 write operations per second.
Possible solutions that come to mind: