Index: adblockplus/issue-6070.patch |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/adblockplus/issue-6070.patch |
@@ -0,0 +1,46 @@ |
+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 = |
+ * @type {number} |
+ */ |
+ maxAbsenceInterval: 1 * MILLIS_IN_DAY, |
+ |
+ /** |
+ * Minimal time interval before retrying a download after an error. |
+ * @type {number} |
+ */ |
+- minRetryInterval: 1 * MILLIS_IN_DAY, |
++ minRetryInterval: 30 * MILLIS_IN_SECOND, |
+ |
+ /** |
+ * Maximal allowed expiration interval, larger expiration intervals will be |
+ * 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"); |
+ const {Prefs} = require("prefs"); |
+ 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; |
+ |
+ /** |
+ * The object providing actual downloading functionality. |
+ * @type {Downloader} |
+ */ |
+ let downloader = null; |
+ |