fix(bridge): OTA RPC 客户端预算 600s→1800s(实测传输超 10 分钟)
This commit is contained in:
1 parent
01f345d17d
commit
96b1976da0
1 file changed
+1
-1
@@ -161,7 +161,7 @@ class BridgeTransport:
|
||||
async def run_ota(self, image: bytes, on_progress=None):
|
||||
self._on_progress = on_progress
|
||||
try:
|
||||
return await self._rpc("ota", 600.0, image=image.hex())
|
||||
return await self._rpc("ota", 1800.0, image=image.hex())
|
||||
finally:
|
||||
self._on_progress = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user