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 b62a2e9 commit 6fe6c9fCopy full SHA for 6fe6c9f
lib/resque/plugins/round_robin/round_robin.rb
@@ -45,7 +45,7 @@ def reserve_with_round_robin
45
# items on it, then we do nothing. This is a big hack to get
46
# around the lack of round-robining in pyres.
47
if ENV["RESQUE_DEPENDENT_ON"].present?
48
- if Resque.size(ENV["RESQUE_DEPENDENT_ON"]) > ENV["RESQUE_DEPENDENT_MAX"]
+ if Resque.size(ENV["RESQUE_DEPENDENT_ON"]) > ENV["RESQUE_DEPENDENT_MAX"].to_i
49
return nil
50
end
51
0 commit comments