Private personas doc sets (#52)

Private Personas and Document Sets

---------

Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
This commit is contained in:
Chris Weaver
2024-03-21 13:51:38 -07:00
parent 680482bd06
commit 17cc262f5d
19 changed files with 257 additions and 156 deletions

View File

@ -21,7 +21,7 @@ def run_jobs(exclude_indexing: bool) -> None:
cmd_worker = [
"celery",
"-A",
"danswer.background.celery",
"ee.danswer.background.celery",
"worker",
"--pool=threads",
"--autoscale=3,10",
@ -29,7 +29,13 @@ def run_jobs(exclude_indexing: bool) -> None:
"--concurrency=1",
]
cmd_beat = ["celery", "-A", "danswer.background.celery", "beat", "--loglevel=INFO"]
cmd_beat = [
"celery",
"-A",
"ee.danswer.background.celery",
"beat",
"--loglevel=INFO",
]
worker_process = subprocess.Popen(
cmd_worker, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True