Skip to content
Snippets Groups Projects

docker: Improve swh-scheduler-schedule-recurrent service startup

In order for the origin loading tasks resulting from a listing to be successfully scheduled by that service, the loading task types must have been registered in the scheduler database prior the execution of the main command of that service.

So make the service depends on the swh-loader one and use a Python script to check the celery worker used to execute loading tasks have been started.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading