Replace sample Celery result_backend in config

This commit is contained in:
davelopez
2024-04-09 17:33:29 +02:00
parent 61db7bae18
commit 9d9630dc1c
3 changed files with 11 additions and 6 deletions
+4 -2
View File
@@ -5154,7 +5154,9 @@
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
a valid Celery result backend URL. By default a SQLite database is
used for storing task results, please use a more robust backend
for production setups like Redis. For details, see
https://docs.galaxyproject.org/en/master/admin/production.html#use-celery-for-asynchronous-tasks
:Default: ``false``
:Type: bool
@@ -5177,7 +5179,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: ``{'result_backend': 'redis://127.0.0.1:6379/0', 'task_routes': {'galaxy.fetch_data': 'galaxy.external', 'galaxy.set_job_metadata': 'galaxy.external'}}``
:Default: ``{'result_backend': 'db+sqlite:///./database/results.sqlite?isolation_level=IMMEDIATE', 'task_routes': {'galaxy.fetch_data': 'galaxy.external', 'galaxy.set_job_metadata': 'galaxy.external'}}``
:Type: any
+4 -2
View File
@@ -2761,7 +2761,9 @@ galaxy:
# 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
# valid Celery result backend URL. By default a SQLite database is
# used for storing task results, please use a more robust backend for
# production setups like Redis. For details, see
# https://docs.galaxyproject.org/en/master/admin/production.html#use-celery-for-asynchronous-tasks
#enable_celery_tasks: false
@@ -2778,7 +2780,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
# result_backend: db+sqlite:///./database/results.sqlite?isolation_level=IMMEDIATE
# task_routes:
# galaxy.fetch_data: galaxy.external
# galaxy.set_job_metadata: galaxy.external
+3 -2
View File
@@ -3764,14 +3764,15 @@ mapping:
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.
backend URL. By default a SQLite database is used for storing task results, please
use a more robust backend for production setups like Redis.
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
result_backend: db+sqlite:///./database/results.sqlite?isolation_level=IMMEDIATE
task_routes:
'galaxy.fetch_data': 'galaxy.external'
'galaxy.set_job_metadata': 'galaxy.external'