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

Unified Diff: crash_sender

Issue 3414006: crash-reporter: Increase number of enqueued crash files, sending rate, and fix minor bug. (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git
Patch Set: Created 10 years, 3 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 | « crash_collector.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crash_sender
diff --git a/crash_sender b/crash_sender
index 37c3362bf0233f152f4c71a58a06700cb244a6de..c62f88aa460a9b2db0a306203750136ca49bb5d2 100644
--- a/crash_sender
+++ b/crash_sender
@@ -21,8 +21,8 @@ CONSENT_ID="/home/chronos/Consent To Send Stats"
# Path to find which is required for computing the crash rate.
FIND="/usr/bin/find"
-# Send up to 8 crashes per day.
-MAX_CRASH_RATE=8
+# Maximum crashes to send per day.
+MAX_CRASH_RATE=32
# File whose existence mocks crash sending. If empty we pretend the
# crash sending was successful, otherwise unsuccessful.
@@ -197,13 +197,12 @@ send_crash() {
lecho "Crash sending failed with: $(cat ${curl_stderr})"
fi
- rm -f "${report_id}" "${output_file}"
+ rm -f "${report_id}"
return ${curl_result}
}
-# Send all crashes from the given directory. The directory is currently
-# expected to just contain a bunch of minidumps.
+# Send all crashes from the given directory.
send_crashes() {
local dir="$1"
lecho "Considering crashes in ${dir}"
« no previous file with comments | « crash_collector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698