mcomella / apt_github_improvements

A browser extension to add features to GitHub for the Android Product Team (APT) at Mozilla
Mozilla Public License 2.0
3 stars 0 forks source link

[issue-linker] Prune storage (automatically or manually) when close to limit #20

Open mcomella opened 6 years ago

mcomella commented 6 years ago

I think the storage limit is 5MB.

mcomella commented 6 years ago

Apparently getBytesInUse is not available in Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/getBytesInUse

So maybe there's no limit? We should be carefully not to store an obnoxious amount but this will free us from having to worry about it in the short term. :)