From 91deb17bad170ba43e731d718775467c34edc9d3 Mon Sep 17 00:00:00 2001 From: ishkong <19740260+ishkong@users.noreply.github.com> Date: Wed, 1 Jan 2025 14:11:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A3=80=E6=B5=8B=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=92=8C=E6=97=A5=E5=BF=97=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ArknightsUID/arknightsuid_server_update_check/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArknightsUID/arknightsuid_server_update_check/__init__.py b/ArknightsUID/arknightsuid_server_update_check/__init__.py index 6fb3a08..8fcd9cb 100644 --- a/ArknightsUID/arknightsuid_server_update_check/__init__.py +++ b/ArknightsUID/arknightsuid_server_update_check/__init__.py @@ -118,13 +118,13 @@ async def sub_ann_(bot: Bot, ev: Event): await bot.send("成功订阅明日方舟版本更新!") -@scheduler.scheduled_job("interval", seconds=2, id="check update") +@scheduler.scheduled_job("interval", minutes=10, id="check update") async def match_checker(): - logger.info("Checking for Arknights client update") + logger.trace("Checking for Arknights client update") result = await check_update() if not result.res_updated and not result.client_updated: - logger.info("No update found") + logger.trace("No update found") return datas = await gs_subscribe.get_subscribe(task_name_server_check)