Add dispatch_notifications_interval config option

This commit is contained in:
davelopez
2024-04-16 17:06:19 +02:00
parent a4e22b4f41
commit dbdd5bca81
3 changed files with 22 additions and 0 deletions
+11
View File
@@ -5463,6 +5463,17 @@
:Type: int
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``dispatch_notifications_interval``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Description:
The interval in seconds between attempts to dispatch notifications
to users (every 10 minutes by default). Runs in a Celery task.
:Default: ``600``
:Type: int
~~~~~~~~~~~~~~~~~~~~~~
``help_forum_api_url``
~~~~~~~~~~~~~~~~~~~~~~
@@ -2911,6 +2911,10 @@ galaxy:
# a Celery task.
#expired_notifications_cleanup_interval: 86400
# The interval in seconds between attempts to dispatch notifications
# to users (every 10 minutes by default). Runs in a Celery task.
#dispatch_notifications_interval: 600
# The URL pointing to the Galaxy Help Forum API base URL. The API must
# be compatible with Discourse API (https://docs.discourse.org/).
#help_forum_api_url: https://help.galaxyproject.org/
@@ -3990,6 +3990,13 @@ mapping:
desc: |
The interval in seconds between attempts to delete all expired notifications from the database (every 24 hours by default). Runs in a Celery task.
dispatch_notifications_interval:
type: int
required: false
default: 600
desc: |
The interval in seconds between attempts to dispatch notifications to users (every 10 minutes by default). Runs in a Celery task.
help_forum_api_url:
type: str
required: false