Page MenuHomeSoftware Heritage

Automatically subscribe workers to the per-task queues
ClosedPublic

Authored by olasd on Tue, Dec 18, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.