mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-04 19:17:33 +08:00
优化检测时间和日志提示
This commit is contained in:
parent
717e8a6a8f
commit
91deb17bad
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user