Page MenuHomeSoftware Heritage

Automatically subscribe workers to the per-task queues
ClosedPublic

Authored by olasd on Dec 18 2018, 5:28 PM.

Details

Summary

That only works for actual workers (the celeryd_after_setup signal isn't sent by
the test fixture), so keep the workaround in the fixture

Depends on D850

Test Plan
  • tox
  • Run a worker with a custom config: the task queues get subscribed.
  • Run a worker with no custom config and -I swh.loader.debian.tasks,swh.loader.git.tasks: the task queues get subscribed as well.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3149
Build 4037: tox-on-jenkinsJenkins
Build 4036: arc lint + arc unit