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

Unified Diff: chrome/browser/metrics/metrics_service.cc

Issue 313613003: Increase "log too large" threshold in MetricsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 months 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: chrome/browser/metrics/metrics_service.cc
===================================================================
--- chrome/browser/metrics/metrics_service.cc (revision 274238)
+++ chrome/browser/metrics/metrics_service.cc (working copy)
@@ -247,7 +247,7 @@
// will discard the log, and not try to retransmit it. We also don't persist
// the log to the prefs for transmission during the next chrome session if this
// limit is exceeded.
-const size_t kUploadLogAvoidRetransmitSize = 50000;
+const size_t kUploadLogAvoidRetransmitSize = 250000;
Ilya Sherman 2014/06/03 19:51:49 This limit is now very close to kStorageByteLimitP
Ilya Sherman 2014/06/03 19:51:49 Optional nit: This might be a little easier to int
Ilya Sherman 2014/06/03 19:51:49 What is actually accounting for the larger size of
Alexei Svitkine (slow) 2014/06/03 19:56:45 I'm not sure when the old value was chosen or how
Ilya Sherman 2014/06/03 20:25:19 I agree that dropping lots of logs is quite bad, a
// Interval, in minutes, between state saves.
const int kSaveStateIntervalMinutes = 5;
« 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