Explorar el Código

change migration

tags/2.0.0-beta.1
jyong hace 1 mes
padre
commit
35ec0d25e8
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      api/docker/entrypoint.sh
  2. 1
    1
      api/tasks/rag_pipeline/rag_pipeline_run_task.py

+ 1
- 1
api/docker/entrypoint.sh Ver fichero

@@ -32,7 +32,7 @@ if [[ "${MODE}" == "worker" ]]; then

exec celery -A celery_entrypoint.celery worker -P ${CELERY_WORKER_CLASS:-gevent} $CONCURRENCY_OPTION \
--max-tasks-per-child ${MAX_TASKS_PER_CHILD:-50} --loglevel ${LOG_LEVEL:-INFO} \
-Q ${CELERY_QUEUES:-dataset,mail,ops_trace,app_deletion,plugin,workflow_storage,conversation}
-Q ${CELERY_QUEUES:-dataset,pipeline,mail,ops_trace,app_deletion,plugin,workflow_storage,conversation}

elif [[ "${MODE}" == "beat" ]]; then
exec celery -A app.celery beat --loglevel ${LOG_LEVEL:-INFO}

+ 1
- 1
api/tasks/rag_pipeline/rag_pipeline_run_task.py Ver fichero

@@ -20,7 +20,7 @@ from models.enums import WorkflowRunTriggeredFrom
from models.workflow import Workflow, WorkflowNodeExecutionTriggeredFrom


@shared_task(queue="dataset")
@shared_task(queue="pipeline")
def rag_pipeline_run_task(
pipeline_id: str,
application_generate_entity: dict,

Cargando…
Cancelar
Guardar