Skip to content

Commit 3d5f602

Browse files
committed
magic constant increased due to more machines
1 parent d073ea5 commit 3d5f602

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 Resque.size("python") > 2
37+
if Resque.size("python") > 8
3838
# $stderr.puts "not working on queue, python queue too big. (I have #{queues.size} queues)"
3939
return false
4040
end

0 commit comments

Comments
 (0)