mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-19 12:15:59 +00:00
rename celery_init.py
This commit is contained in:
1 parent
3df745d1d2
commit
ae2ded119f
5 files changed
+4
-4
No files matched your search
@@ -229,7 +229,7 @@ def upload_remote():
|
||||
def task_status():
|
||||
"""Get celery job status."""
|
||||
task_id = request.args.get("task_id")
|
||||
from application.celery import celery
|
||||
from application.celery_init import celery
|
||||
|
||||
task = celery.AsyncResult(task_id)
|
||||
task_meta = task.info
|
||||
|
||||
Reference in new issue
Block a user