zuora_connect 3.2.6 → 3.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resque/plugins/app_instance_job.rb +1 -16
- data/lib/zuora_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb20b70dfdf001e2f58ec39b585a597b170636f62b6cf2b42ba7793be4b1801c
|
4
|
+
data.tar.gz: 75347ab051f27c0509c0c4478a4aabf7ab90f3c8c168fd3426fe364fb10322f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 744d36594c697e84a80b17f843084ac2f5f7848d71b145292eee1bda8ae11baf2e274d826bd1fec660a52506e80b7bcfb2291258919d087780ac05aaf06570e7
|
7
|
+
data.tar.gz: a510e390477e3f40ac956ea9382b0782837b445825048fa243551d0f2e7a9e3e9f24c58a7724d9b2cb55fc2a23837b5f4fc8c7f7dd8f96cc1ad8e8cd8d04564d
|
@@ -32,22 +32,7 @@ module Resque
|
|
32
32
|
else
|
33
33
|
raise
|
34
34
|
end
|
35
|
-
rescue ActiveRecord::StatementInvalid => exception
|
36
|
-
if (connection_count += 1) <= 3 &&
|
37
|
-
(
|
38
|
-
exception.message.include?("PG::UnableToSend: no connection to the server") ||
|
39
|
-
exception.message.include?("PG::ConnectionBad: PQconsumeInput()") ||
|
40
|
-
exception.message.include?("PG::ConnectionBad: PQsocket()") ||
|
41
|
-
exception.message.include?("PG::UnableToSend: SSL SYSCALL")
|
42
|
-
)
|
43
|
-
|
44
|
-
sleep 30
|
45
|
-
ActiveRecord::Base.establish_connection
|
46
|
-
retry
|
47
|
-
else
|
48
|
-
raise
|
49
|
-
end
|
50
|
-
rescue PG::ConnectionBad => exception
|
35
|
+
rescue ActiveRecord::StatementInvalid, PG::ConnectionBad => exception
|
51
36
|
Rails.logger.warn("Bad Connection Restart", exception)
|
52
37
|
Resque.enqueue_to(self.job.queue, self.job.payload['class'], args)
|
53
38
|
return
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|