Skip to content

fix(worker): run enterprise catalog timer with or without Meilisearch - #49

Merged
servicememeai merged 7 commits into
devfrom
fix/periodic-directory-worker-20261025
Oct 25, 2026
Merged

servicememeai merged 7 commits into
devfrom
fix/periodic-directory-worker-20261025

Conversation

@servicememeai

Copy link
Copy Markdown

Fix existing worker deployment for 10-minute enterprise catalog sync

  • Pass CF_DIRECTORY_SYNC_INTERVAL_SECONDS=600 to both app/worker, expose a parsed Django setting in existing bootstrap.
  • Existing cf-worker starts periodic manage.py cf_worker even if optional Meilisearch indexing is configured, within the SAME worker container; no new service or scheduler.
  • Worker restarts on unexpected exit of either long-running process; clean idle exit stays exited in standalone mode.
  • Add cheap worker lifecycle assertion and enterprise SSO environment example.

Dependency

Deploy with Hub PR haiwen#89; otherwise no new periodic task will register. Independent of Server PR #42.
No Docker build or full deployment in this PR; Compose syntax and worker lifecycle need the lightweight check.

@servicememeai
servicememeai merged commit 3a9ae8b into dev Oct 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant