resque-throttle 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/resque/resque.rb +1 -1
- data/resque-throttle.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.14
|
data/lib/resque/resque.rb
CHANGED
@@ -8,7 +8,7 @@ module Resque
|
|
8
8
|
|
9
9
|
def enqueue_with_throttle(klass, *args)
|
10
10
|
if should_throttle?(klass, *args)
|
11
|
-
raise ThrottledError.new("#{klass} with key #{klass.key} has exceeded it's throttle limit")
|
11
|
+
raise ThrottledError.new("#{klass} with key #{klass.key(*args)} has exceeded it's throttle limit")
|
12
12
|
end
|
13
13
|
enqueue_without_throttle(klass, *args)
|
14
14
|
end
|
data/resque-throttle.gemspec
CHANGED