closes #25; clear the cache every settings.cacheTime minutes

This commit is contained in:
Kerrick Long
2012-04-29 04:01:46 -05:00
parent 9ada1823a3
commit a52e8d0376
+1
View File
@@ -15,6 +15,7 @@
background.clearCache();
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
background.watchMail();
window.setInterval(background.clearCache, settings.cacheTime * 60 * 1000);
reddit.getReddits();
}