Skip to content
Snippets Groups Projects
  • Antoine Lambert's avatar
    40e2e324
    docker: Improve swh-scheduler-schedule-recurrent service startup · 40e2e324
    Antoine Lambert authored
    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.
    40e2e324
    History
    docker: Improve swh-scheduler-schedule-recurrent service startup
    Antoine Lambert authored
    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.