Skip to content

Commit 62b48dc

Browse files
committed
replays-high can always get processed regardless of the state of python queue
1 parent 766d636 commit 62b48dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/plugins/round_robin/round_robin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def should_work_on_queue? queuename
3434
# Ive been fighting to get this to round-robining system to work
3535
# for five hours now. If you hate this, you can fix it.
3636
#
37-
if queuename.to_s != 'replay' && !queuename.to_s.index('replay').nil?
37+
unless ['replays', 'replays-high'].include?(queuename.to_s) || queuename.to_s.index('replay').nil?
3838
if Resque.size("python") > 2
3939
return false
4040
end

0 commit comments

Comments
 (0)