fix tombstoned path length

pull/19841/head
Willem Melching 2021-01-19 11:13:58 +01:00
parent 0e49919ab9
commit 0897642a51
1 changed files with 2 additions and 2 deletions

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/"