From 2357a7135e6ace1635e9e7de9941231ca5d5a5f2 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 25 Aug 2025 17:46:06 +0800 Subject: [PATCH] fix run_async --- app/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scheduler.py b/app/scheduler.py index b66519bb..877b3e22 100644 --- a/app/scheduler.py +++ b/app/scheduler.py @@ -461,7 +461,7 @@ class Scheduler(metaclass=Singleton): if not func: return if inspect.iscoroutinefunction(func): - AsyncUtils.run_async_in_executor(func(*args, **kwargs)) + AsyncUtils.run_async(func(*args, **kwargs)) else: job["func"](*args, **kwargs) except Exception as e: