Merge "Reduce disk space limit for incident reports." into pi-dev am: a991071db9
am: 634acf3aa0
Change-Id: Ia1eb2dabd731a138dbd3a2aaaa54efaa691539ac
diff --git a/cmds/incidentd/src/Reporter.cpp b/cmds/incidentd/src/Reporter.cpp
index 103004d..297a071 100644
--- a/cmds/incidentd/src/Reporter.cpp
+++ b/cmds/incidentd/src/Reporter.cpp
@@ -106,8 +106,7 @@
Reporter::Reporter(const char* directory) : batch() {
char buf[100];
- // TODO: Make the max size smaller for user builds.
- mMaxSize = 100 * 1024 * 1024;
+ mMaxSize = 30 * 1024 * 1024; // incident reports can take up to 30MB on disk
mMaxCount = 100;
// string ends up with '/' is a directory