From e65885b8c922231001f8bde7b4a3b82cde5cf77e Mon Sep 17 00:00:00 2001 From: Carlin MacKenzie Date: Fri, 8 Nov 2024 16:21:00 +0100 Subject: [PATCH] celery: add update_domain_status task --- invenio_app_rdm/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/invenio_app_rdm/config.py b/invenio_app_rdm/config.py index 0d93496fc..64b9be7e7 100644 --- a/invenio_app_rdm/config.py +++ b/invenio_app_rdm/config.py @@ -429,6 +429,10 @@ def files_rest_permission_factory(obj, action): "task": "invenio_accounts.tasks.delete_ips", "schedule": timedelta(hours=6), }, + "update_domain_status": { + "task": "invenio_accounts.tasks.update_domain_status", + "schedule": timedelta(hours=4), + }, "draft_resources": { "task": ("invenio_drafts_resources.services.records.tasks.cleanup_drafts"), "schedule": timedelta(minutes=60),