resque-dynamic-queues
resque-dynamic-queues copied to clipboard
Feature: Respect default Resque Wildcard
I noticed this gem was not properly handling Resque's wildcard priority system. For example, QUEUE="high,medium,*,superlow
was attempting to read the * as a wildcard pattern in the vein of *high
instead of priortizing high, medium, all other queues before superlow, and super low. I've updated the pattern regex to only match a wildcard before or after a alphanumeric/dash/underscore pattern. There's also a test for this.