delayed_job_with_named_queues 2.0.7.13 → 2.0.7.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/delayed/worker.rb +1 -0
- metadata +3 -3
data/lib/delayed/worker.rb
CHANGED
@@ -170,6 +170,7 @@ module Delayed
|
|
170
170
|
def handle_failed_job(job, error)
|
171
171
|
job.last_error = error.message + "\n" + error.backtrace.join("\n")
|
172
172
|
say "#{job.name} failed with #{error.class.name}: #{error.message} - #{job.attempts} failed attempts", Logger::ERROR
|
173
|
+
ActiveRecord::Base.verify_active_connections!
|
173
174
|
reschedule(job)
|
174
175
|
rescue Exception => err
|
175
176
|
say "Failure trying to reschedule job with error #{err.class.name}: #{err.message}", Logger::ERROR
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_job_with_named_queues
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 111
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
9
|
- 7
|
10
|
-
-
|
11
|
-
version: 2.0.7.
|
10
|
+
- 14
|
11
|
+
version: 2.0.7.14
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Ray Walters
|