优化插件热重载管理,支持多个监听目录

This commit is contained in:
minecraft1024a
2025-08-14 13:43:22 +08:00
parent 5f7f68f640
commit ee66fbe827
3 changed files with 152 additions and 56 deletions

View File

@@ -86,7 +86,7 @@ class ScheduleManager:
logger.debug("当前时间没有日程活动")
# 每5分钟检查一次避免频繁检查
await asyncio.sleep(60)
await asyncio.sleep(300)
except asyncio.CancelledError:
logger.info("定时任务循环被取消")