mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat: update Celery worker configuration and improve connector deletion process
- Added support for multiple queues in Celery worker configuration. - Modified connector deletion to handle documents inline instead of using a background task. - Updated response messages for document creation and connector deletion to reflect new processing status. - Removed the obsolete connector deletion Celery task file.
This commit is contained in:
parent
81c70befcf
commit
1849b451a5
8 changed files with 66 additions and 300 deletions
|
|
@ -57,7 +57,7 @@ environment=PYTHONPATH="/app/backend",UVICORN_LOOP="asyncio",UNSTRUCTURED_HAS_PA
|
|||
|
||||
# Celery Worker
|
||||
[program:celery-worker]
|
||||
command=celery -A app.celery_app worker --loglevel=info --concurrency=2 --pool=solo
|
||||
command=celery -A app.celery_app worker --loglevel=info --concurrency=2 --pool=solo --queues=surfsense,surfsense.connectors
|
||||
directory=/app/backend
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue