fix tombstoned path length

This commit is contained in:
Willem Melching
2021-01-19 11:13:58 +01:00
parent 0e49919ab9
commit 0897642a51
+2 -2
View File
@@ -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 ("<dongle id>/crash/")
TOMBSTONE_DIR = "/data/tombstones/"
APPORT_DIR = "/var/crash/"