diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-07-06 10:19:05 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-07-09 16:58:49 +0200 |
| commit | 3dedadaf15181f983370331847137b5a96ecb8e8 (patch) | |
| tree | 3218d42f49b867496c27566d6c23f476337ebf9c | |
| parent | 7d8bd2da873d23dc1969f3bf08f22701094a5408 (diff) | |
| download | mullvadvpn-3dedadaf15181f983370331847137b5a96ecb8e8.tar.xz mullvadvpn-3dedadaf15181f983370331847137b5a96ecb8e8.zip | |
Lower max bytes per log to 128k
| -rw-r--r-- | mullvad-problem-report/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-problem-report/src/main.rs b/mullvad-problem-report/src/main.rs index 440b1a9c75..ac819d9608 100644 --- a/mullvad-problem-report/src/main.rs +++ b/mullvad-problem-report/src/main.rs @@ -32,7 +32,7 @@ use std::path::{Path, PathBuf}; use std::process::Command; /// Maximum number of bytes to read from each log file -const LOG_MAX_READ_BYTES: usize = 512 * 1024; +const LOG_MAX_READ_BYTES: usize = 128 * 1024; const EXTRA_BYTES: usize = 32 * 1024; /// Fit five logs plus some system information in the report. const REPORT_MAX_SIZE: usize = (5 * LOG_MAX_READ_BYTES) + EXTRA_BYTES; |
