Skip to content

Enable daily cron for search engine population and make delete ops non-blocking#765

Merged
mishig25 merged 1 commit intomainfrom
enable-cron-and-remove-wait-from-deletes
Mar 10, 2026
Merged

Enable daily cron for search engine population and make delete ops non-blocking#765
mishig25 merged 1 commit intomainfrom
enable-cron-and-remove-wait-from-deletes

Conversation

@mishig25
Copy link
Contributor

@mishig25 mishig25 commented Mar 10, 2026

Summary

  • Enable cron schedule in populate_search_engine.yml so the search engine is populated daily at 07:05 UTC (was commented out).
  • Remove wait_for_task_completion wrapper from Meilisearch delete functions (delete_embedding_db, clear_embedding_db, delete_documents_from_db) so they fire-and-forget instead of blocking until the task finishes.

Test plan

  • Verify the cron job triggers on schedule (or trigger manually via workflow_dispatch)
  • Confirm delete operations still execute correctly without waiting for task completion

Made with Cursor

…ions non-blocking

Uncomment the cron schedule so the search engine is populated daily at 07:05 UTC.
Remove the `wait_for_task_completion` decorator from Meilisearch delete functions
(`delete_embedding_db`, `clear_embedding_db`, `delete_documents_from_db`) so they
fire-and-forget instead of blocking until the task finishes.

Made-with: Cursor
@mishig25 mishig25 merged commit 1ccbc62 into main Mar 10, 2026
4 checks passed
@mishig25 mishig25 deleted the enable-cron-and-remove-wait-from-deletes branch March 10, 2026 09:50
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