mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +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(
|
@scheduler.scheduled_job("interval", minutes=1, max_instances=5)
|
||||||
"interval",
|
|
||||||
minutes=1,
|
|
||||||
)
|
|
||||||
async def _():
|
async def _():
|
||||||
try:
|
try:
|
||||||
call_list = TEMP_LIST.copy()
|
call_list = TEMP_LIST.copy()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user