From 42b958f0f0afe6ff429b46f3f432b0dcd9f9913c Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Tue, 19 Jan 2021 11:13:58 +0100 Subject: [PATCH] fix tombstoned path length old-commit-hash: 0897642a513924d0f5c7bdd406228108f439b656 --- selfdrive/tombstoned.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/tombstoned.py b/selfdrive/tombstoned.py index 26c17b4a2e..74e514d2ab 100755 --- a/selfdrive/tombstoned.py +++ b/selfdrive/tombstoned.py @@ -17,10 +17,10 @@ from selfdrive.loggerd.config import ROOT from selfdrive.swaglog import cloudlog from selfdrive.version import branch, commit, dirty, origin, version -MAX_SIZE = 100000 * 10 # Normal size is 40-100k, allow up to 1M +MAX_SIZE = 100000 * 10 # mal size is 40-100k, allow up to 1M if TICI: MAX_SIZE = MAX_SIZE * 100 # Allow larger size for tici since files contain coredump -MAX_TOMBSTONE_FN_LEN = 85 +MAX_TOMBSTONE_FN_LEN = 62 # 85 - 23 ("/crash/") TOMBSTONE_DIR = "/data/tombstones/" APPORT_DIR = "/var/crash/"