We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766d636 commit 62b48dcCopy full SHA for 62b48dc
lib/resque/plugins/round_robin/round_robin.rb
@@ -34,7 +34,7 @@ def should_work_on_queue? queuename
34
# Ive been fighting to get this to round-robining system to work
35
# for five hours now. If you hate this, you can fix it.
36
#
37
- if queuename.to_s != 'replay' && !queuename.to_s.index('replay').nil?
+ unless ['replays', 'replays-high'].include?(queuename.to_s) || queuename.to_s.index('replay').nil?
38
if Resque.size("python") > 2
39
return false
40
end
0 commit comments