mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
修复调用统计性能问题 (#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:
parent
46a652bb27
commit
e1bf1ba87f
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user