Add broker and backend defaults as null

This will keep the values in the sample config.
This commit is contained in:
davelopez
2024-04-10 18:23:52 +02:00
parent a739ed1cb8
commit 514df55323
3 changed files with 15 additions and 11 deletions
+5 -5
View File
@@ -5172,16 +5172,16 @@
To refer to a task by name, use the template `galaxy.foo` where
`foo` is the function name of the task defined in the
galaxy.celery.tasks module.
The `broker_url` option, if unset, defaults to the value of
`amqp_internal_connection`. The `result_backend` option, if unset,
defaults to an SQLite database at '<data_dir>/results.sqlite' for
storing task results.
The `broker_url` option, if unset or null, defaults to the value
of `amqp_internal_connection`. The `result_backend` option, if
unset or null, defaults to an SQLite database at
'<data_dir>/results.sqlite' for storing task results.
The galaxy.fetch_data task can be disabled by setting its route to
"disabled": `galaxy.fetch_data: disabled`. (Other tasks cannot be
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: ``{'broker_url': None, 'result_backend': None, 'task_routes': {'galaxy.fetch_data': 'galaxy.external', 'galaxy.set_job_metadata': 'galaxy.external'}}``
:Type: any