resque-throttle 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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