| OLD | NEW |
| 1 Issue 6070 - Filter list not loaded after install without internet | 1 Issue 6070 - Filter list not loaded after install without internet |
| 2 | 2 |
| 3 diff --git a/lib/downloader.js b/lib/downloader.js | 3 diff --git a/lib/downloader.js b/lib/downloader.js |
| 4 --- a/lib/downloader.js | 4 --- a/lib/downloader.js |
| 5 +++ b/lib/downloader.js | 5 +++ b/lib/downloader.js |
| 6 @@ -75,17 +75,17 @@ Downloader.prototype = | 6 @@ -76,17 +76,17 @@ |
| 7 * @type {number} | 7 * @type {number} |
| 8 */ | 8 */ |
| 9 maxAbsenceInterval: 1 * MILLIS_IN_DAY, | 9 maxAbsenceInterval: 1 * MILLIS_IN_DAY, |
| 10 | 10 |
| 11 /** | 11 /** |
| 12 * Minimal time interval before retrying a download after an error. | 12 * Minimal time interval before retrying a download after an error. |
| 13 * @type {number} | 13 * @type {number} |
| 14 */ | 14 */ |
| 15 - minRetryInterval: 1 * MILLIS_IN_DAY, | 15 - minRetryInterval: 1 * MILLIS_IN_DAY, |
| 16 + minRetryInterval: 30 * MILLIS_IN_SECOND, | 16 + minRetryInterval: 30 * MILLIS_IN_SECOND, |
| 17 | 17 |
| 18 /** | 18 /** |
| 19 * Maximal allowed expiration interval, larger expiration intervals will be | 19 * Maximal allowed expiration interval, larger expiration intervals will be |
| 20 * corrected. | 20 * corrected. |
| 21 * @type {number} | 21 * @type {number} |
| 22 */ | 22 */ |
| 23 maxExpirationInterval: 14 * MILLIS_IN_DAY, | 23 maxExpirationInterval: 14 * MILLIS_IN_DAY, |
| 24 | 24 |
| 25 diff --git a/lib/synchronizer.js b/lib/synchronizer.js | 25 diff --git a/lib/synchronizer.js b/lib/synchronizer.js |
| 26 --- a/lib/synchronizer.js | 26 --- a/lib/synchronizer.js |
| 27 +++ b/lib/synchronizer.js | 27 +++ b/lib/synchronizer.js |
| 28 @@ -27,17 +27,17 @@ const {Downloader, Downloadable, | 28 @@ -28,17 +28,17 @@ |
| 29 const {Filter} = require("filterClasses"); | 29 const {FilterStorage} = require("./filterStorage"); |
| 30 const {FilterStorage} = require("filterStorage"); | 30 const {FilterNotifier} = require("./filterNotifier"); |
| 31 const {FilterNotifier} = require("filterNotifier"); | |
| 32 const {Prefs} = require("prefs"); | 31 const {Prefs} = require("prefs"); |
| 33 const {Subscription, DownloadableSubscription} = require("subscriptionClasses")
; | 32 const {Subscription, |
| 33 DownloadableSubscription} = require("./subscriptionClasses"); |
| 34 const {Utils} = require("utils"); | 34 const {Utils} = require("utils"); |
| 35 | 35 |
| 36 const INITIAL_DELAY = 1 * MILLIS_IN_MINUTE; | 36 const INITIAL_DELAY = 1 * MILLIS_IN_MINUTE; |
| 37 -const CHECK_INTERVAL = 1 * MILLIS_IN_HOUR; | 37 -const CHECK_INTERVAL = 1 * MILLIS_IN_HOUR; |
| 38 +const CHECK_INTERVAL = 2 * MILLIS_IN_MINUTE; | 38 +const CHECK_INTERVAL = 2 * MILLIS_IN_MINUTE; |
| 39 const DEFAULT_EXPIRATION_INTERVAL = 5 * MILLIS_IN_DAY; | 39 const DEFAULT_EXPIRATION_INTERVAL = 5 * MILLIS_IN_DAY; |
| 40 | 40 |
| 41 /** | 41 /** |
| 42 * The object providing actual downloading functionality. | 42 * The object providing actual downloading functionality. |
| 43 * @type {Downloader} | 43 * @type {Downloader} |
| 44 */ | 44 */ |
| 45 let downloader = null; | 45 let downloader = null; |
| 46 | 46 |
| OLD | NEW |