From 34d2d92fa8a4ab5ad9fc59ffe073b9b687253f18 Mon Sep 17 00:00:00 2001 From: rkuo-danswer Date: Mon, 31 Mar 2025 14:59:31 -0700 Subject: [PATCH] also set permission upsert to medium priority (#4405) Co-authored-by: Richard Kuo (Onyx) --- backend/onyx/redis/redis_connector_doc_perm_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/onyx/redis/redis_connector_doc_perm_sync.py b/backend/onyx/redis/redis_connector_doc_perm_sync.py index 5c420d59e6bc..f6b4e107dd69 100644 --- a/backend/onyx/redis/redis_connector_doc_perm_sync.py +++ b/backend/onyx/redis/redis_connector_doc_perm_sync.py @@ -195,7 +195,7 @@ class RedisConnectorPermissionSync: ), queue=OnyxCeleryQueues.DOC_PERMISSIONS_UPSERT, task_id=custom_task_id, - priority=OnyxCeleryPriority.HIGH, + priority=OnyxCeleryPriority.MEDIUM, ignore_result=True, ) async_results.append(result)