Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: content/public/browser/background_sync_parameters.cc

Issue 1539913002: [BackgroundSync] Change the default number of sync attempts to 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/background_sync_parameters.cc
diff --git a/content/public/browser/background_sync_parameters.cc b/content/public/browser/background_sync_parameters.cc
index 2f05b41f95f3dcf5f7dfc1a6f7270c02d6b33555..4cce070cf7206e67c0610de12b53218af3673f02 100644
--- a/content/public/browser/background_sync_parameters.cc
+++ b/content/public/browser/background_sync_parameters.cc
@@ -7,7 +7,7 @@
namespace content {
namespace {
-const int kMaxSyncAttempts = 5;
+const int kMaxSyncAttempts = 3;
const int kInitialRetryDelayMins = 5;
const int kRetryDelayFactor = 3;
const int64_t kMinSyncRecoveryTimeMs = 1000 * 60 * 6; // 6 minutes
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698