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.
Versão
Procedência
- Digest do conteúdo
- sha256:1e5a2f6c33acbb14a36f7bdf5c8a6fb006b8e96ed688b271cc9624d8c54344a8
- Publicado
- 2026-11-15T08:08:49Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/component/core/ai-agent/dify-worker-beat:1.1.0Parâmetros do desenvolvedor
Valores que o desenvolvedor define no Aggregate.
Nenhum parâmetro do desenvolvedor declarado.
Dimensionamento do operador
Dimensionamento de infraestrutura que o operador ajusta por ambiente.
| Nome | Tipo | Padrão | Obrigatório | Descrição |
|---|---|---|---|---|
| engine_version | string | 1.17.0 | não | Dify 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_level | string (DEBUG | INFO | WARNING | ERROR | CRITICAL) | INFO | não | Log verbosity the scheduler emits. |
| telemetry_enabled | boolean | false | não | Lets 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_enabled | boolean | false | não | Lets 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. |
| compute | object | — | não | — |
| overrides | object (open) | — | não | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Contrato de saída
Valores que este componente publica para os consumidores pela topologia uses.
Nenhum valor de saída declarado.
Sockets uses
Os sockets de dependência pelos quais este componente se conecta. O destino de cada conexão ligada por um socket deve satisfazer o seletor de rótulos dele, e cada conexão pode carregar um acoplamento nos slots que o socket declara. Cada conexão que o Aggregate ou a Release liga pelo socket deve preencher os slots obrigatórios.
backend
- Seletor
- component.aggrega.ai/category=datastore
- Injeção
- env
Slots que cada conexão por este socket pode preencher
| Slot | Seletor | Obrigatório | Injeção | Sensível | Descrição |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | não | env | sim | 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
- Seletor
- component.aggrega.ai/category=datastore
- Injeção
- env
Slots que cada conexão por este socket pode preencher
| Slot | Seletor | Obrigatório | Injeção | Sensível | Descrição |
|---|---|---|---|---|---|
| server_ca | feature.aggrega.ai/kind=secret | não | file | sim | 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. |
Slots de acoplamento
Pontos de vinculação nomeados nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual Feature pode preenchê-lo, e sua lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório deve estar vinculado em cada instância, por um acoplamento na instância ou em um escopo acima dela, e um slot sensível é declarado para lidar com material secreto. Uma Feature também pode se acoplar com um nome que nenhum slot declara.
Nenhum slot de acoplamento declarado.
Lista de permissões de autoinjeção
env
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é exibida como uma aresta quebrada em vez de um link.
Usa
- usausa o socket «backend»
component.aggrega.ai/category=datastore
Slots de acoplamento: credential
core/datastore/chroma v1.0.0 →core/datastore/cognee v1.0.0 →core/datastore/documentdb v1.0.0 →core/datastore/elasticsearch v1.0.0 →core/datastore/etcd v1.0.0 →core/datastore/ferretdb v1.0.0 →core/datastore/mariadb v1.0.0 →core/datastore/mariadb-operator v1.0.0 →core/datastore/memcached v1.0.0 →core/datastore/milvus v1.0.0 →core/datastore/mysql v1.0.0 →core/datastore/mysql-innodb-cluster v1.0.0 →core/datastore/mysql-operator v1.0.0 →core/datastore/opensearch v1.0.0 →core/datastore/pgvector v1.0.0 →core/datastore/postgres v1.0.0 →core/datastore/qdrant v1.0.0 →core/datastore/redis v1.0.0 →core/datastore/timescaledb v1.0.0 →core/datastore/valkey v1.0.0 →core/datastore/weaviate v1.0.0 → - usausa o socket «cache»
component.aggrega.ai/category=datastore
Slots de acoplamento: server_ca
core/datastore/chroma v1.0.0 →core/datastore/cognee v1.0.0 →core/datastore/documentdb v1.0.0 →core/datastore/elasticsearch v1.0.0 →core/datastore/etcd v1.0.0 →core/datastore/ferretdb v1.0.0 →core/datastore/mariadb v1.0.0 →core/datastore/mariadb-operator v1.0.0 →core/datastore/memcached v1.0.0 →core/datastore/milvus v1.0.0 →core/datastore/mysql v1.0.0 →core/datastore/mysql-innodb-cluster v1.0.0 →core/datastore/mysql-operator v1.0.0 →core/datastore/opensearch v1.0.0 →core/datastore/pgvector v1.0.0 →core/datastore/postgres v1.0.0 →core/datastore/qdrant v1.0.0 →core/datastore/redis v1.0.0 →core/datastore/timescaledb v1.0.0 →core/datastore/valkey v1.0.0 →core/datastore/weaviate v1.0.0 →
Usado por
usa o socket «runner»
usa o socket «api»
usa o socket «runner»
usa o socket «api»
usa o socket «services»
usa o socket «api»
usa o socket «services»
usa o socket «services»
usa o socket «sandbox»
usa o socket «plugin_daemon»
usa o socket «ssrf_proxy»
usa o socket «sandbox»
usa o socket «plugin_daemon»
usa o socket «ssrf_proxy»
usa o socket «api»
usa o socket «ssrf_proxy»
usa o socket «api»
usa o socket «api»
usa o socket «sandbox»
usa o socket «plugin_daemon»
usa o socket «ssrf_proxy»
usa o socket «sandbox»
usa o socket «plugin_daemon»
usa o socket «ssrf_proxy»
usa o socket «target_agent»
usa o socket «scrape_target»
aplica-se a
aplica-se a
aplica-se a
implementa
implementa