bunny 2.6.5 → 2.6.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9646b786d482eb19ff72a0cca49d19b35133a3ee
4
- data.tar.gz: 9eaee52c70d70e93ed1ccbc532305ddd67d028ef
3
+ metadata.gz: c5e7f840112812e8585e35d6dc10a17a1c78aabb
4
+ data.tar.gz: '08d7f335b7a7fa824c97e6a7ebf7d64131971b56'
5
5
  SHA512:
6
- metadata.gz: 907064ff90c3752d8e2a240d3a86558e6462984ed10a24c0b51eaded877fa2373cf6b278376fc34205b85742a0769d9838c906cf1fb6916debad58177dcd4db4
7
- data.tar.gz: cab82513ced1682e9282c4595a79d531989954972c3a2f9179625c46d857251c8b50d7137501ae129eb6b58bd37f80e716989d7fd0be6e00dc291b9b9213401c
6
+ metadata.gz: 0d183245cb18184f88a8571d84e3bdfb6016bc01a5680b63d26c1ffbd732cf09857b4b83ba9fc4cd33682cf10108e10568539d4d67486df1f9c084421464877c
7
+ data.tar.gz: 29bfda1ca945c81508c95747db802559af2c9fe957204591d2aa2a3e30de5dd58c2c215646826fab98c68e984e584ebbf1e5acf54823f144bf38066346a79809
@@ -1,3 +1,14 @@
1
+ ## Changes between Bunny 2.6.5 and 2.6.6 (May 11th, 2017)
2
+
3
+ ### Connection Recovery Improvements
4
+
5
+ System call exceptions now will trigger connection recovery.
6
+
7
+ Contributed by Alessandro Verlato.
8
+
9
+ GitHub issue: [#491](https://github.com/ruby-amqp/bunny/issues/491).
10
+
11
+
1
12
  ## Changes between Bunny 2.6.4 and 2.6.5 (April 15th, 2017)
2
13
 
3
14
  ### Absolute Windows File Paths are No Longer treated as Inline Certs
data/README.md CHANGED
@@ -88,7 +88,7 @@ gem install bunny
88
88
  To use Bunny in a project managed with Bundler:
89
89
 
90
90
  ``` ruby
91
- gem "bunny", ">= 2.6.4"
91
+ gem "bunny", ">= 2.6.5"
92
92
  ```
93
93
 
94
94
 
@@ -718,16 +718,14 @@ module Bunny
718
718
  else
719
719
  @logger.debug "Not resetting recovery attempt counter after successful reconnection, as configured"
720
720
  end
721
- reset_recovery_attempt_counter!
722
721
 
723
722
  recover_channels
724
723
  end
725
724
  rescue HostListDepleted
726
725
  reset_address_index
727
726
  retry
728
- rescue TCPConnectionFailedForAllHosts, TCPConnectionFailed, AMQ::Protocol::EmptyResponseError => e
727
+ rescue TCPConnectionFailedForAllHosts, TCPConnectionFailed, AMQ::Protocol::EmptyResponseError, SystemCallError => e
729
728
  @logger.warn "TCP connection failed, reconnecting in #{@network_recovery_interval} seconds"
730
- sleep @network_recovery_interval
731
729
  if should_retry_recovery?
732
730
  decrement_recovery_attemp_counter!
733
731
  if recoverable_network_failure?(e)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bunny
4
4
  # @return [String] Version of the library
5
- VERSION = "2.6.5"
5
+ VERSION = "2.6.6"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.5
4
+ version: 2.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Duncan
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-04-15 00:00:00.000000000 Z
15
+ date: 2017-05-10 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: amq-protocol