resque-dynamic-queues icon indicating copy to clipboard operation
resque-dynamic-queues copied to clipboard

Feature: Respect default Resque Wildcard

Open JoeMcB opened this issue 10 years ago • 0 comments

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.

JoeMcB avatar Feb 06 '15 21:02 JoeMcB