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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87a45c02969cab662dc850f4ffa1bdb4c78a9ccc2461cd3deb837ed1249e2198
4
- data.tar.gz: ac3850697bb5e581aabc2a431dd4d0cad4d3b96b9f6af8bb8316e07df9374dcc
3
+ metadata.gz: cb20b70dfdf001e2f58ec39b585a597b170636f62b6cf2b42ba7793be4b1801c
4
+ data.tar.gz: 75347ab051f27c0509c0c4478a4aabf7ab90f3c8c168fd3426fe364fb10322f4
5
5
  SHA512:
6
- metadata.gz: 0e8fc768f6e097694fb7a945a1749553393beae753e411496f5cd3678cd22cf0ecf150fc34d76c257795811b2708b3fe1616f8f30d048e91786010dfeab68e2c
7
- data.tar.gz: ebca18d32d753cf2c0373718a5cfb60b7314f3524ef82317b31d57f0f9ac8e5e42b29aeee886107a96468dca437796c145dd54e266772023d30ee3a667417a39
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZuoraConnect
4
- VERSION = "3.2.6"
4
+ VERSION = "3.2.7"
5
5
  end
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.6
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-02-21 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apartment