nsq-ruby 2.1.0 → 2.2.0
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/README.md +6 -1
- data/lib/nsq/connection.rb +1 -1
- data/lib/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: 229c1d668e9a72a150cf31a0a961ceb167487ff9
|
4
|
+
data.tar.gz: fd0037847e57c3d121c8cb3336b89552ab43c6e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bfde70b0deacc4ca79bad2dff9bf24494e7e713644ab3626f4ccea8b8e26e57863326e66d02d90fbe65c1ab1fa8f54387358a8bfdf30b17776a8f8528ba10d4
|
7
|
+
data.tar.gz: c54f95f3fe6840d316f8fda50d4d4560def806ef58dc9f0d7b3fa85a846522ee3253da966b9b0fe2c104d2e52c3eb65566cdfef11b25a61646cee247b02d1066
|
data/README.md
CHANGED
@@ -139,7 +139,12 @@ If its connection to nsqd fails, it will automatically try to reconnect with
|
|
139
139
|
exponential backoff. Any messages that were sent to `#write` will be queued
|
140
140
|
and transmitted after reconnecting.
|
141
141
|
|
142
|
-
**Note
|
142
|
+
**Note:** Internally, we use a `SizedQueue` that can hold 10,000 messages. If you're
|
143
|
+
producing messages faster than we're able to send them to nsqd or nsqd is
|
144
|
+
offline for an extended period and you accumulate 10,000 messages in the queue,
|
145
|
+
calls to `#write` will block until there's room in the queue.
|
146
|
+
|
147
|
+
**Note:** We don't wait for nsqd to acknowledge our writes. As a result, if the
|
143
148
|
connection to nsqd fails, you can lose messages. This is acceptable for our use
|
144
149
|
cases, mostly because we are sending messages to a local nsqd instance and
|
145
150
|
failure is very rare.
|
data/lib/nsq/connection.rb
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nsq-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wistia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|