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 +4 -4
- data/ChangeLog.md +11 -0
- data/README.md +1 -1
- data/lib/bunny/session.rb +1 -3
- data/lib/bunny/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5e7f840112812e8585e35d6dc10a17a1c78aabb
|
4
|
+
data.tar.gz: '08d7f335b7a7fa824c97e6a7ebf7d64131971b56'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d183245cb18184f88a8571d84e3bdfb6016bc01a5680b63d26c1ffbd732cf09857b4b83ba9fc4cd33682cf10108e10568539d4d67486df1f9c084421464877c
|
7
|
+
data.tar.gz: 29bfda1ca945c81508c95747db802559af2c9fe957204591d2aa2a3e30de5dd58c2c215646826fab98c68e984e584ebbf1e5acf54823f144bf38066346a79809
|
data/ChangeLog.md
CHANGED
@@ -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
data/lib/bunny/session.rb
CHANGED
@@ -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)
|
data/lib/bunny/version.rb
CHANGED
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.
|
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-
|
15
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: amq-protocol
|