mirror of
https://github.com/langgenius/dify.git
synced 2026-03-06 06:35:24 -05:00
feat: add queue to celery task (#688)
This commit is contained in:
@@ -12,7 +12,7 @@ from extensions.ext_database import db
|
||||
from models.dataset import Document, Dataset, DocumentSegment
|
||||
|
||||
|
||||
@shared_task
|
||||
@shared_task(queue='dataset')
|
||||
def document_indexing_update_task(dataset_id: str, document_id: str):
|
||||
"""
|
||||
Async update document
|
||||
|
||||
Reference in New Issue
Block a user