Index: adblockplus/issue-6070.patch |
=================================================================== |
--- a/adblockplus/issue-6070.patch |
+++ b/adblockplus/issue-6070.patch |
@@ -1,14 +1,14 @@ |
Issue 6070 - Filter list not loaded after install without internet |
diff --git a/lib/downloader.js b/lib/downloader.js |
--- a/lib/downloader.js |
+++ b/lib/downloader.js |
-@@ -75,17 +75,17 @@ Downloader.prototype = |
+@@ -76,17 +76,17 @@ |
* @type {number} |
*/ |
maxAbsenceInterval: 1 * MILLIS_IN_DAY, |
/** |
* Minimal time interval before retrying a download after an error. |
* @type {number} |
*/ |
@@ -20,22 +20,22 @@ |
* corrected. |
* @type {number} |
*/ |
maxExpirationInterval: 14 * MILLIS_IN_DAY, |
diff --git a/lib/synchronizer.js b/lib/synchronizer.js |
--- a/lib/synchronizer.js |
+++ b/lib/synchronizer.js |
-@@ -27,17 +27,17 @@ const {Downloader, Downloadable, |
- const {Filter} = require("filterClasses"); |
- const {FilterStorage} = require("filterStorage"); |
- const {FilterNotifier} = require("filterNotifier"); |
+@@ -28,17 +28,17 @@ |
+ const {FilterStorage} = require("./filterStorage"); |
+ const {FilterNotifier} = require("./filterNotifier"); |
const {Prefs} = require("prefs"); |
- const {Subscription, DownloadableSubscription} = require("subscriptionClasses"); |
+ const {Subscription, |
+ DownloadableSubscription} = require("./subscriptionClasses"); |
const {Utils} = require("utils"); |
const INITIAL_DELAY = 1 * MILLIS_IN_MINUTE; |
-const CHECK_INTERVAL = 1 * MILLIS_IN_HOUR; |
+const CHECK_INTERVAL = 2 * MILLIS_IN_MINUTE; |
const DEFAULT_EXPIRATION_INTERVAL = 5 * MILLIS_IN_DAY; |
/** |