fix priority on vespa metadata sync (#4603)

Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app>
This commit is contained in:
rkuo-danswer
2025-04-24 12:50:49 -07:00
committed by GitHub
parent 5d59850a17
commit 37adf31a3b
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ class RedisDocumentSet(RedisObjectHelper):
kwargs=dict(document_id=doc_id, tenant_id=tenant_id),
queue=OnyxCeleryQueues.VESPA_METADATA_SYNC,
task_id=custom_task_id,
priority=OnyxCeleryPriority.LOW,
priority=OnyxCeleryPriority.MEDIUM,
)
num_tasks_sent += 1

View File

@@ -102,7 +102,7 @@ class RedisUserGroup(RedisObjectHelper):
kwargs=dict(document_id=doc_id, tenant_id=tenant_id),
queue=OnyxCeleryQueues.VESPA_METADATA_SYNC,
task_id=custom_task_id,
priority=OnyxCeleryPriority.LOW,
priority=OnyxCeleryPriority.MEDIUM,
)
num_tasks_sent += 1