autoscale with pool=thread crashes celery. remove and use concurrency… (#1929)

* autoscale with pool=thread crashes celery. remove and use concurrency instead (to be improved later)

* update dev background script as well
This commit is contained in:
rkuo-danswer
2024-07-24 17:15:27 -07:00
committed by GitHub
parent 27824d6cc6
commit 546bfbd24b
2 changed files with 2 additions and 3 deletions

View File

@ -24,9 +24,8 @@ def run_jobs(exclude_indexing: bool) -> None:
"ee.danswer.background.celery.celery_app",
"worker",
"--pool=threads",
"--autoscale=3,10",
"--concurrency=16",
"--loglevel=INFO",
"--concurrency=1",
]
cmd_beat = [