Page MenuHomeSoftware Heritage

Route tasks using their task name rather than a task_queue attribute
ClosedPublic

Authored by olasd on Tue, Dec 18, 5:20 PM.

Details

Summary

Supersedes D839

Test Plan

tox (and make test on swh-indexer)

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.

Event Timeline

olasd created this revision.Tue, Dec 18, 5:20 PM

How does this preserve compatibility with the current worker configurations? They would only listen on the old queue names

olasd added a comment.Tue, Dec 18, 5:29 PM

How does this preserve compatibility with the current worker configurations? They would only listen on the old queue names

That would be D852.

vlorentz accepted this revision.Tue, Dec 18, 5:30 PM
This revision is now accepted and ready to land.Tue, Dec 18, 5:30 PM
This revision was automatically updated to reflect the committed changes.