Loading cmds/incidentd/src/IncidentService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ enum { #define DEFAULT_DELAY_NS (1000000000LL) #define DEFAULT_BYTES_SIZE_LIMIT (96 * 1024 * 1024) // 96MB #define DEFAULT_BYTES_SIZE_LIMIT (400 * 1024 * 1024) // 400MB #define DEFAULT_REFACTORY_PERIOD_MS (24 * 60 * 60 * 1000) // 1 Day // Skip these sections (for dumpstate only) Loading cmds/incidentd/src/WorkDirectory.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -533,7 +533,7 @@ status_t ReportFile::load_envelope_impl(bool cleanup) { WorkDirectory::WorkDirectory() :mDirectory("/data/misc/incidents"), mMaxFileCount(100), mMaxDiskUsageBytes(100 * 1024 * 1024) { // Incident reports can take up to 100MB on disk. mMaxDiskUsageBytes(400 * 1024 * 1024) { // Incident reports can take up to 400MB on disk. // TODO: Should be a flag. create_directory(mDirectory.c_str()); } Loading Loading
cmds/incidentd/src/IncidentService.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ enum { #define DEFAULT_DELAY_NS (1000000000LL) #define DEFAULT_BYTES_SIZE_LIMIT (96 * 1024 * 1024) // 96MB #define DEFAULT_BYTES_SIZE_LIMIT (400 * 1024 * 1024) // 400MB #define DEFAULT_REFACTORY_PERIOD_MS (24 * 60 * 60 * 1000) // 1 Day // Skip these sections (for dumpstate only) Loading
cmds/incidentd/src/WorkDirectory.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -533,7 +533,7 @@ status_t ReportFile::load_envelope_impl(bool cleanup) { WorkDirectory::WorkDirectory() :mDirectory("/data/misc/incidents"), mMaxFileCount(100), mMaxDiskUsageBytes(100 * 1024 * 1024) { // Incident reports can take up to 100MB on disk. mMaxDiskUsageBytes(400 * 1024 * 1024) { // Incident reports can take up to 400MB on disk. // TODO: Should be a flag. create_directory(mDirectory.c_str()); } Loading