bunny 1.1.2 → 1.1.3
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 +12 -0
- data/lib/bunny/cruby/socket.rb +1 -1
- 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: ce0b2a90fab8489b955204f892ad87b024ddef69
|
4
|
+
data.tar.gz: b09ccb3fe8b9404ea00552b92d362d20fa967e88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 617ef0a5a794bac0a3d0f778ecc6e41bf39d27d5372edccbf7169192b536b03aba152d3fd3cdeca7d32d0380921ed883126854dae24c70e7ba18adefbbeb00f5
|
7
|
+
data.tar.gz: 9f1d2ca82d40a8f3a493bf0bfccefca420aa3f7014673aff07255271289ca7ab1d1e9513f664949a890e91e07ada540cd5e8525723746dae2480bcf7846722f2
|
data/ChangeLog.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Changes between Bunny 1.1.2 and 1.1.3
|
2
|
+
|
3
|
+
### Nagle's Algorithm Disabled Correctly
|
4
|
+
|
5
|
+
Bunny now properly disables [Nagle's algorithm](http://boundary.com/blog/2012/05/02/know-a-delay-nagles-algorithm-and-you/)
|
6
|
+
on the sockets it opens. This likely means
|
7
|
+
significantly lower latency for workloads that involve
|
8
|
+
sending a lot of small messages very frequently.
|
9
|
+
|
10
|
+
[Contributed](https://github.com/ruby-amqp/bunny/pull/187) by Nelson Gauthier (AirBnB).
|
11
|
+
|
12
|
+
|
1
13
|
## Changes between Bunny 1.1.1 and 1.1.2
|
2
14
|
|
3
15
|
### Internal Exchanges
|
data/lib/bunny/cruby/socket.rb
CHANGED
@@ -16,7 +16,7 @@ module Bunny
|
|
16
16
|
def self.open(host, port, options = {})
|
17
17
|
Timeout.timeout(options[:socket_timeout], ClientTimeout) do
|
18
18
|
sock = new(host, port)
|
19
|
-
if Socket.constants.include?('TCP_NODELAY') || Socket.constants.include?(:TCP_NODELAY)
|
19
|
+
if ::Socket.constants.include?('TCP_NODELAY') || ::Socket.constants.include?(:TCP_NODELAY)
|
20
20
|
sock.setsockopt(::Socket::IPPROTO_TCP, ::Socket::TCP_NODELAY, true)
|
21
21
|
end
|
22
22
|
sock.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_KEEPALIVE, true) if options.fetch(:keepalive, true)
|
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: 1.1.
|
4
|
+
version: 1.1.3
|
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: 2014-02-
|
15
|
+
date: 2014-02-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: amq-protocol
|