fix tombstoned path length

old-commit-hash: 0897642a513924d0f5c7bdd406228108f439b656
This commit is contained in:
Willem Melching
2021-01-19 11:13:58 +01:00
parent 7af6dab1e8
commit 42b958f0f0
+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/"