Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java

Issue 29673565: Issue 6066 - Implement 'force update' functionality for subscriptions (Closed)
Patch Set: Fixes Created Jan. 23, 2018, 3:12 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java
===================================================================
--- a/adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java
+++ b/adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java
@@ -59,17 +59,17 @@ final class Subscription
public static final String KEY_HTTP_ETAG = "_etag";
public static final String KEY_HTTP_LAST_MODIFIED = "_last_modified";
public static final String KEY_UPDATE_TIMESTAMP = "_update_timestamp";
public static final String KEY_TRIED_UPDATE_TIMESTAMP = "_tried_update_timestamp";
public static final String KEY_DOWNLOAD_COUNT = "_download_count";
public static final String KEY_ENABLED = "_enabled";
public static final String KEY_META_HASH = "_meta_hash";
- private static final long MINIMAL_DOWNLOAD_INTERVAL = DateUtils.HOUR_IN_MILLIS / 4;
+ private static final long MINIMAL_DOWNLOAD_INTERVAL = DateUtils.MINUTE_IN_MILLIS;
private static final long DOWNLOAD_RETRY_INTERVAL = DateUtils.HOUR_IN_MILLIS;
/**
* List of meta keys that are allowed to import from a downloaded
* subscription.
*/
private static final String[] ALLOWED_META_KEYS_ARRAY =
{

Powered by Google App Engine
This is Rietveld