修复调用统计性能问题 (#1916)

* 修复调用统计性能问题

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
molanp 2025-06-10 15:55:47 +08:00 committed by GitHub
parent 46a652bb27
commit e1bf1ba87f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,10 +53,7 @@ async def _(
)
@scheduler.scheduled_job(
"interval",
minutes=1,
)
@scheduler.scheduled_job("interval", minutes=1, max_instances=5)
async def _():
try:
call_list = TEMP_LIST.copy()