fix tombstoned path length

old-commit-hash: 0897642a51
commatwo_master
Willem Melching 4 years ago
parent 7af6dab1e8
commit 42b958f0f0
  1. 4
      selfdrive/tombstoned.py

@ -17,10 +17,10 @@ from selfdrive.loggerd.config import ROOT
from selfdrive.swaglog import cloudlog from selfdrive.swaglog import cloudlog
from selfdrive.version import branch, commit, dirty, origin, version 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: if TICI:
MAX_SIZE = MAX_SIZE * 100 # Allow larger size for tici since files contain coredump 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/" TOMBSTONE_DIR = "/data/tombstones/"
APPORT_DIR = "/var/crash/" APPORT_DIR = "/var/crash/"

Loading…
Cancel
Save