mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 04:49:21 +02:00
increase indexing worker concurrency to 3
This commit is contained in:
committed by
Chris Weaver
parent
1c8476072e
commit
c32b93fcc3
@@ -234,7 +234,7 @@ except ValueError:
|
|||||||
CELERY_WORKER_LIGHT_PREFETCH_MULTIPLIER_DEFAULT
|
CELERY_WORKER_LIGHT_PREFETCH_MULTIPLIER_DEFAULT
|
||||||
)
|
)
|
||||||
|
|
||||||
CELERY_WORKER_INDEXING_CONCURRENCY_DEFAULT = 1
|
CELERY_WORKER_INDEXING_CONCURRENCY_DEFAULT = 3
|
||||||
try:
|
try:
|
||||||
env_value = os.environ.get("CELERY_WORKER_INDEXING_CONCURRENCY")
|
env_value = os.environ.get("CELERY_WORKER_INDEXING_CONCURRENCY")
|
||||||
if not env_value:
|
if not env_value:
|
||||||
|
Reference in New Issue
Block a user