From e09e3ed959e11155863c2064d01931248fe18fba Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Thu, 10 Apr 2025 09:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B6=85=E6=97=B6=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E4=B8=BA60s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fcb_ai_db_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcb_ai_db_sync.py b/fcb_ai_db_sync.py index 80386d6..6b34052 100644 --- a/fcb_ai_db_sync.py +++ b/fcb_ai_db_sync.py @@ -26,7 +26,7 @@ if __name__ == '__main__': fcbsync_dbphoto_mysql.main() end_time = time() elapsed_time = end_time - start_time - if elapsed_time > 30: + if elapsed_time > 60: error_message = f'警告!同步脚本执行时间高达{elapsed_time}秒,请检查程序运行状态!' logging.error(error_message) send_error_email(program_name, '超时警告', error_message)