From a2bdef63b41363e5696cb167f94c2ba8b63d3937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Thu, 16 Jan 2025 07:40:47 +0000 Subject: [PATCH] =?UTF-8?q?update=20DeployDevice/src/func/liteOsUpgrade/li?= =?UTF-8?q?teOsUpgrade=5FRK3568=5Fapp.py.=20=EF=BC=88cherry=20picked=20com?= =?UTF-8?q?mit=20from=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py index 9b20861..10c0051 100644 --- a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py +++ b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py @@ -619,7 +619,7 @@ def is_can_exec(lock_file): lock_time = os.path.getmtime(lock_file) current_time = time.time() # 判断锁是否超时 - if (current_time - lock_time) < 10: + if (current_time - lock_time) < 30: return True if (current_time - lock_time) < lock_duration: logger.error("ask is already running. Exiting.") -- Gitee