Skip to content

Commit 6fe6c9f

Browse files
committed
whoops
1 parent b62a2e9 commit 6fe6c9f

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
@@ -45,7 +45,7 @@ def reserve_with_round_robin
4545
# items on it, then we do nothing. This is a big hack to get
4646
# around the lack of round-robining in pyres.
4747
if ENV["RESQUE_DEPENDENT_ON"].present?
48-
if Resque.size(ENV["RESQUE_DEPENDENT_ON"]) > ENV["RESQUE_DEPENDENT_MAX"]
48+
if Resque.size(ENV["RESQUE_DEPENDENT_ON"]) > ENV["RESQUE_DEPENDENT_MAX"].to_i
4949
return nil
5050
end
5151
end

0 commit comments

Comments
 (0)