fix: switch plugin auto upgrade cache to redis (#26356)
This commit is contained in:
parent
029d5d36ac
commit
cba2b9b2ad
4 changed files with 93 additions and 24 deletions
|
|
@ -145,6 +145,7 @@ def init_app(app: DifyApp) -> Celery:
|
|||
}
|
||||
if dify_config.ENABLE_CHECK_UPGRADABLE_PLUGIN_TASK and dify_config.MARKETPLACE_ENABLED:
|
||||
imports.append("schedule.check_upgradable_plugin_task")
|
||||
imports.append("tasks.process_tenant_plugin_autoupgrade_check_task")
|
||||
beat_schedule["check_upgradable_plugin_task"] = {
|
||||
"task": "schedule.check_upgradable_plugin_task.check_upgradable_plugin_task",
|
||||
"schedule": crontab(minute="*/15"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue