bump tombstone size limit for tici

old-commit-hash: 1ac39ee9c3939d894e6c008b4be75fc25e806e32
This commit is contained in:
Adeeb Shihadeh
2020-12-28 16:41:34 -08:00
parent bc426feb1f
commit dfb2df5c1c
+4 -2
View File
@@ -5,11 +5,13 @@ import time
from raven import Client
from raven.transport.http import HTTPTransport
from selfdrive.version import version, origin, branch, dirty
from selfdrive.hardware import TICI
from selfdrive.swaglog import cloudlog
from selfdrive.version import version, origin, branch, dirty
MAX_SIZE = 100000 * 10 # Normal size is 40-100k, allow up to 1M
if TICI:
MAX_SIZE = MAX_SIZE * 10 # Allow larger size for tici
def get_tombstones():
"""Returns list of (filename, ctime) for all tombstones in /data/tombstones