1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-17 09:44:59 +12:00

Update browsercache.js

This commit is contained in:
zero77 2018-01-14 14:14:49 +00:00 committed by GitHub
parent 7dac50008a
commit 56e3286ca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,14 +32,14 @@
// Browser data jobs
var clearCache = function() {
vAPI.setTimeout(clearCache, 15 * 60 * 1000);
vAPI.setTimeout(clearCache, 1 * 60 * 1000);
var µm = µMatrix;
if ( !µm.userSettings.clearBrowserCache ) {
return;
}
µm.clearBrowserCacheCycle -= 15;
µm.clearBrowserCacheCycle -= 1;
if ( µm.clearBrowserCacheCycle > 0 ) {
return;
}
@ -55,7 +55,7 @@ var clearCache = function() {
//console.debug('clearBrowserCacheCallback()> vAPI.browserData.clearCache() called');
};
vAPI.setTimeout(clearCache, 15 * 60 * 1000);
vAPI.setTimeout(clearCache, 1 * 60 * 1000);
/******************************************************************************/