Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

update clean_unused_datasets_task timedelta (#6324)

Jyong988aa4b5dadc
diff --git a/api/extensions/ext_celery.py b/api/extensions/ext_celery.py
index bd4755e7688..8302f91a438 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(