From 4a19685bb5982a6bec6f60f3448877f44ea7580e Mon Sep 17 00:00:00 2001 From: H Vs Date: Fri, 21 Mar 2025 17:32:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index b24222c..9c2b445 100644 --- a/run.py +++ b/run.py @@ -20,8 +20,8 @@ def start_celery(): if __name__ == "__main__": # 启动 FastAPI 和 Celery fastapi_process = start_fastapi() - # celery_process = start_celery() # 如果需要启动 Celery,取消注释 + # celery_process = start_celery() # 等待子进程完成 fastapi_process.wait() - # celery_process.wait() # 如果需要等待 Celery,取消注释 \ No newline at end of file + # celery_process.wait() \ No newline at end of file