mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
uploader: compress rlogs (#24447)
This commit is contained in:
@@ -261,7 +261,7 @@ def uploader_fn(exit_event):
|
||||
key, fn = d
|
||||
|
||||
# qlogs and bootlogs need to be compressed before uploading
|
||||
if key.endswith('qlog') or (key.startswith('boot/') and not key.endswith('.bz2')):
|
||||
if key.endswith(('qlog', 'rlog')) or (key.startswith('boot/') and not key.endswith('.bz2')):
|
||||
key += ".bz2"
|
||||
|
||||
success = uploader.upload(key, fn, sm['deviceState'].networkType.raw, sm['deviceState'].networkMetered)
|
||||
|
||||
Reference in New Issue
Block a user