Esta página foi traduzida automaticamente. Leia o original em inglês.

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

1.0.01.1.0

Procedência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como publicador oficial.
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.0

Parâ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.

NomeTipoPadrãoObrigatórioDescrição
engine_versionstring1.17.0nãoDify 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)INFOnãoLog verbosity the scheduler emits.
telemetry_enabledbooleanfalsenãoLets 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_enabledbooleanfalsenãoLets 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—não—
overridesobject (open)—nãoProvider-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

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credentialfeature.aggrega.ai/kind=secretnãoenvsimOptional 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

SlotSeletorObrigatórioInjeçãoSensívelDescrição
server_cafeature.aggrega.ai/kind=secretnãofilesimOptional 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

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design compartilhado do Aggrega.

Privacidade