mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update access denied exceptions
This commit is contained in:
parent
294281602e
commit
ad38cf4783
17 changed files with 154 additions and 138 deletions
9
dashboard-ui/cordova/ios/backgroundfetch.js
vendored
9
dashboard-ui/cordova/ios/backgroundfetch.js
vendored
|
@ -7,7 +7,7 @@
|
|||
var fetcher = window.BackgroundFetch;
|
||||
|
||||
fetcher.configure(onBackgroundFetch, onBackgroundFetchFailed, {
|
||||
stopOnTerminate: true // <-- false is default
|
||||
stopOnTerminate: false // <-- false is default
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
Logger.log('- BackgroundFetch failed');
|
||||
}
|
||||
|
||||
var syncInterval = 1800000;
|
||||
var syncInterval = 3600000;
|
||||
|
||||
function restartInterval() {
|
||||
|
||||
|
@ -65,11 +65,12 @@
|
|||
|
||||
}, syncInterval);
|
||||
|
||||
if (lastStart > 0 && (now - lastStart) >= syncInterval) {
|
||||
if (lastStart > 0 && (new Date().getTime() - lastStart) >= syncInterval) {
|
||||
|
||||
setTimeout(function () {
|
||||
startSync();
|
||||
}, 3000);
|
||||
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue