mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Update config docs to mention the celery result_backend
This commit is contained in:
@@ -5151,8 +5151,11 @@
|
||||
|
||||
:Description:
|
||||
Offload long-running tasks to a Celery task queue. Activate this
|
||||
only if you have setup a Celery worker for Galaxy. For details,
|
||||
see https://docs.galaxyproject.org/en/master/admin/production.html
|
||||
only if you have setup a Celery worker for Galaxy and you have
|
||||
configured the `celery_conf` option below. Specifically, you need
|
||||
to set the `result_backend` option in the `celery_conf` option to
|
||||
a valid Celery result backend URL. For details, see
|
||||
https://docs.galaxyproject.org/en/master/admin/production.html#use-celery-for-asynchronous-tasks
|
||||
:Default: ``false``
|
||||
:Type: bool
|
||||
|
||||
@@ -5174,7 +5177,7 @@
|
||||
disabled on a per-task basis at this time.)
|
||||
For details, see Celery documentation at
|
||||
https://docs.celeryq.dev/en/stable/userguide/configuration.html.
|
||||
:Default: ``{'task_routes': {'galaxy.fetch_data': 'galaxy.external', 'galaxy.set_job_metadata': 'galaxy.external'}}``
|
||||
:Default: ``{'result_backend': 'redis://127.0.0.1:6379/0', 'task_routes': {'galaxy.fetch_data': 'galaxy.external', 'galaxy.set_job_metadata': 'galaxy.external'}}``
|
||||
:Type: any
|
||||
|
||||
|
||||
|
||||
@@ -2758,8 +2758,11 @@ galaxy:
|
||||
#amqp_internal_connection: sqlalchemy+sqlite:///./database/control.sqlite?isolation_level=IMMEDIATE
|
||||
|
||||
# Offload long-running tasks to a Celery task queue. Activate this
|
||||
# only if you have setup a Celery worker for Galaxy. For details, see
|
||||
# https://docs.galaxyproject.org/en/master/admin/production.html
|
||||
# only if you have setup a Celery worker for Galaxy and you have
|
||||
# configured the `celery_conf` option below. Specifically, you need to
|
||||
# set the `result_backend` option in the `celery_conf` option to a
|
||||
# valid Celery result backend URL. For details, see
|
||||
# https://docs.galaxyproject.org/en/master/admin/production.html#use-celery-for-asynchronous-tasks
|
||||
#enable_celery_tasks: false
|
||||
|
||||
# Configuration options passed to Celery.
|
||||
@@ -2775,6 +2778,7 @@ galaxy:
|
||||
# For details, see Celery documentation at
|
||||
# https://docs.celeryq.dev/en/stable/userguide/configuration.html.
|
||||
#celery_conf:
|
||||
# result_backend: redis://127.0.0.1:6379/0
|
||||
# task_routes:
|
||||
# galaxy.fetch_data: galaxy.external
|
||||
# galaxy.set_job_metadata: galaxy.external
|
||||
|
||||
@@ -3761,13 +3761,17 @@ mapping:
|
||||
required: false
|
||||
desc: |
|
||||
Offload long-running tasks to a Celery task queue.
|
||||
Activate this only if you have setup a Celery worker for Galaxy.
|
||||
For details, see https://docs.galaxyproject.org/en/master/admin/production.html
|
||||
Activate this only if you have setup a Celery worker for Galaxy and you have
|
||||
configured the `celery_conf` option below. Specifically, you need to set the
|
||||
`result_backend` option in the `celery_conf` option to a valid Celery result
|
||||
backend URL.
|
||||
For details, see https://docs.galaxyproject.org/en/master/admin/production.html#use-celery-for-asynchronous-tasks
|
||||
|
||||
celery_conf:
|
||||
type: any
|
||||
required: false
|
||||
default:
|
||||
result_backend: redis://127.0.0.1:6379/0
|
||||
task_routes:
|
||||
'galaxy.fetch_data': 'galaxy.external'
|
||||
'galaxy.set_job_metadata': 'galaxy.external'
|
||||
|
||||
Reference in New Issue
Block a user