rails / solid_queue

Database-backed Active Job backend
MIT License
1.95k stars 130 forks source link

Fix queue order when combining multiple prefixes or prefixes and names #410

Closed rosa closed 5 days ago

rosa commented 1 week ago

We were altering the original order to be exact names and then prefixes in the order returned by the DB, which doesn't need to be the order specified for the worker. This change ensures the order is respected. Besides this, this also documents a bit the performance implications of the different ways to specify queues per worker.

This fixes #360.