|
|
@ -31,7 +31,11 @@ |
|
|
|
scheduleUpdate = function (delay) { |
|
|
|
scheduleUpdate = function (delay) { |
|
|
|
clearTimeout(updateTimeout); |
|
|
|
clearTimeout(updateTimeout); |
|
|
|
updateTimeout = setTimeout(function () { |
|
|
|
updateTimeout = setTimeout(function () { |
|
|
|
|
|
|
|
try { |
|
|
|
appCache.update(); |
|
|
|
appCache.update(); |
|
|
|
|
|
|
|
} catch (ex) { |
|
|
|
|
|
|
|
console.log('appCache.update: ' + ex); |
|
|
|
|
|
|
|
} |
|
|
|
}, delay || 300000); |
|
|
|
}, delay || 300000); |
|
|
|
}, |
|
|
|
}, |
|
|
|
attach = function () { |
|
|
|
attach = function () { |
|
|
|