From 988aa4b5dadceaa9b5fa39b50bbd5ca39582d299 Mon Sep 17 00:00:00 2001 From: Jyong <76649700+JohnJyong@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:43:04 +0800 Subject: [PATCH] update clean_unused_datasets_task timedelta (#6324) --- api/extensions/ext_celery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/extensions/ext_celery.py b/api/extensions/ext_celery.py index bd4755e76..8302f91a4 100644 --- a/api/extensions/ext_celery.py +++ b/api/extensions/ext_celery.py @@ -51,7 +51,7 @@ def init_app(app: Flask) -> Celery: }, 'clean_unused_datasets_task': { 'task': 'schedule.clean_unused_datasets_task.clean_unused_datasets_task', - 'schedule': timedelta(days=1), + 'schedule': timedelta(minutes=3), } } celery_app.conf.update(