uploader: reduce max qlog/qcam size (#30746)

old-commit-hash: 37351cbdc1e40c5d990035d867008aec44b64c76
This commit is contained in:
Adeeb Shihadeh
2023-12-14 22:30:46 -08:00
committed by GitHub
parent 31aa003d92
commit c0c898d83a

View File

@@ -25,7 +25,7 @@ NetworkType = log.DeviceState.NetworkType
UPLOAD_ATTR_NAME = 'user.upload'
UPLOAD_ATTR_VALUE = b'1'
UPLOAD_QLOG_QCAM_MAX_SIZE = 100 * 1e6 # MB
UPLOAD_QLOG_QCAM_MAX_SIZE = 5 * 1e6 # MB
allow_sleep = bool(os.getenv("UPLOADER_SLEEP", "1"))
force_wifi = os.getenv("FORCEWIFI") is not None