mirror of
https://github.com/langgenius/dify.git
synced 2026-03-14 13:51:33 +08:00
Merge branch '1.12.1-otel-ee' into deploy/enterprise
This commit is contained in:
commit
aa7f648712
@ -184,6 +184,8 @@ def init_app(app: DifyApp) -> Celery:
|
||||
"task": "schedule.trigger_provider_refresh_task.trigger_provider_refresh",
|
||||
"schedule": timedelta(minutes=dify_config.TRIGGER_PROVIDER_REFRESH_INTERVAL),
|
||||
}
|
||||
if dify_config.ENTERPRISE_TELEMETRY_ENABLED:
|
||||
imports.append("tasks.enterprise_telemetry_task")
|
||||
celery_app.conf.update(beat_schedule=beat_schedule, imports=imports)
|
||||
|
||||
return celery_app
|
||||
|
||||
Loading…
Reference in New Issue
Block a user