gregglind / micropilot

Lightweight event monitoring and observation in Firefox addons.
http://gregglind.github.com/micropilot/
4 stars 2 forks source link

add functionality to clear the indexedDB store instead of deleting it #38

Closed mozkeeler closed 11 years ago

mozkeeler commented 11 years ago

blushproof periodically uploads and clears data it's collected. The current clear() functionality deletes the entire DB, which is a) slow, b) unnecessary, and c) I can't even get it to work correctly (I think it's giving blocking errors because the DB is still in use). I added clearForReuse() in a fork (mozkeeler/micropilot, in the clearForReuse branch), but I can't seem to make a pull request to this project, so I'm just filing an issue.