defunkt/resque — pull request #620 by Junyulive (2012-06-14 03:53:04+00:00)
Title: Partial wildcard matching

Current wildcard matching use an alpha order, and doen't support partial matching at all.

Add partial wildcard matching when get queues list from a worker. This can be useful when you set certain priorities for a worker to process on dynamic queues.

For example:

You want all dynamic "user_xxx" queues will be processed before "system_xxx", after all done you still want the worker to be able to process all other queues ("*").

Start a worker with the queues below:

$ QUEUES=user_*, system_*, * rake resque:work