bunny 1.1.2 → 1.1.3

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
  SHA1:
3
- metadata.gz: 3eeef6754f706470bdfc5d99e6a45287ed3cfd5c
4
- data.tar.gz: 63fc42f3516d6eb7aeea1f1b8f420765cb5cc9ce
3
+ metadata.gz: ce0b2a90fab8489b955204f892ad87b024ddef69
4
+ data.tar.gz: b09ccb3fe8b9404ea00552b92d362d20fa967e88
5
5
  SHA512:
6
- metadata.gz: dda47ffc1ab40a3fb23c3e2e40bf3940769437c8ade1f6a1ed64a89b185c5b02d6bc9df757a431f01a1c1fefa78f3fd2b7cdef903692b06218479c48e0b14f58
7
- data.tar.gz: 540c1f8464d24e4b1b90152e4fb2d26d1e537fdc1cf5db5cd4855334ef0915e6460d77b847ba6bd28153aa169299746d9822e5d6ec506872112581def6d389ab
6
+ metadata.gz: 617ef0a5a794bac0a3d0f778ecc6e41bf39d27d5372edccbf7169192b536b03aba152d3fd3cdeca7d32d0380921ed883126854dae24c70e7ba18adefbbeb00f5
7
+ data.tar.gz: 9f1d2ca82d40a8f3a493bf0bfccefca420aa3f7014673aff07255271289ca7ab1d1e9513f664949a890e91e07ada540cd5e8525723746dae2480bcf7846722f2
@@ -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
@@ -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)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bunny
4
4
  # @return [String] Version of the library
5
- VERSION = "1.1.2"
5
+ VERSION = "1.1.3"
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: 1.1.2
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-04 00:00:00.000000000 Z
15
+ date: 2014-02-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: amq-protocol