Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Component

core/ai-agent/dify-worker-beat

The Dify task scheduler — the Celery beat process that puts the platform's periodic work on the queue at its due time: dataset re-indexing sweeps, expired-file and orphaned-document cleanup, workspace usage rollups, and scheduled application runs. It reads the schedule from the platform's relational model in the PostgreSQL backend wired through the `backend` uses-socket and enqueues onto the Redis-compatible broker wired through `cache`, where the task worker picks the work up; it never runs a task itself. Exactly one instance runs — two schedulers on one queue would enqueue every periodic task twice — so it renders as a single-replica stateless worker. It serves no port and nothing connects to it, so it publishes no provides contract. By default it schedules nothing that reaches Dify's vendor: infra.telemetry_enabled turns on the daily usage event, and infra.marketplace_enabled the daily plugin upgrade check.

Phiên bản

1.0.01.1.0

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:1e5a2f6c33acbb14a36f7bdf5c8a6fb006b8e96ed688b271cc9624d8c54344a8
Đã xuất bản
2026-11-15T08:08:49Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:48ad88f6bc7c078d13d7bd80293c2100eca7d4ba9682c64059e92b1965c1bd4e

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/component/core/ai-agent/dify-worker-beat:1.1.0

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

Chưa khai báo tham số nào của nhà phát triển.

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
engine_versionstring1.17.0khôngDify API container image tag. The API server, the task worker and this scheduler run the same image, so a Release moves all three together.
log_levelstring (DEBUG | INFO | WARNING | ERROR | CRITICAL)INFOkhôngLog verbosity the scheduler emits.
telemetry_enabledbooleanfalsekhôngLets the scheduler put Dify's anonymous daily usage event on the queue, which the task worker then sends to otel.dify.ai, falling back to otel.dify.cn. Unset or false, the event is never scheduled. Set it on the server and the task worker too.
marketplace_enabledbooleanfalsekhôngLets the scheduler put Dify's plugin upgrade check on the queue every fifteen minutes; the task worker then fetches the plugin list from marketplace.dify.ai once a day for each workspace. Unset or false, the check is never scheduled. Set it on the server and the task worker too.
computeobject—không—
overridesobject (open)—khôngProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

Chưa khai báo giá trị đầu ra nào.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

backend

Bộ chọn
component.aggrega.ai/category=datastore
Tiêm
env

Các slot mà mỗi kết nối qua socket này có thể lấp đầy

SlotBộ chọnBắt buộcTiêmNhạy cảmMô tả
credentialfeature.aggrega.ai/kind=secretkhôngenvcóOptional password the scheduler presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem; unattached, the Recipe uses the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password.

cache

Bộ chọn
component.aggrega.ai/category=datastore
Tiêm
env

Các slot mà mỗi kết nối qua socket này có thể lấp đầy

SlotBộ chọnBắt buộcTiêmNhạy cảmMô tả
server_cafeature.aggrega.ai/kind=secretkhôngfilecóOptional authority the scheduler checks the cache's certificate against while the cache publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only and points the cache client and the task broker at the file. The build halts on a server_ca publishing no Secret name, and on one wired to a cache served without TLS. Fill it with core/referenced-secret.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

env

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư