Skip to content

Commit 23799d2

Browse files
committed
more sad hax
1 parent 09b1fdd commit 23799d2

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.index("replay").nil?
37+
if queuename != 'replay' && !queuename.to_s.index('replay').nil?
3838
if Resque.size("python") > 2
3939
return false
4040
end

0 commit comments

Comments
 (0)