resque-throttle 0.2.10 → 0.2.11
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/lib/resque/throttled_job.rb +0 -1
- data/resque-throttle.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.11
|
data/lib/resque/resque.rb
CHANGED
@@ -10,7 +10,7 @@ module Resque
|
|
10
10
|
if should_throttle?(klass, args)
|
11
11
|
raise ThrottledError.new("#{klass} with key #{klass.key} has exceeded it's throttle limit")
|
12
12
|
end
|
13
|
-
enqueue_without_throttle(klass,
|
13
|
+
enqueue_without_throttle(klass, args)
|
14
14
|
end
|
15
15
|
alias_method :enqueue_without_throttle, :enqueue
|
16
16
|
alias_method :enqueue, :enqueue_with_throttle
|
data/lib/resque/throttled_job.rb
CHANGED
data/resque-throttle.gemspec
CHANGED