Skip to content

Commit 6446fcf

Browse files
committed
Update release notes and tidy README for release v0.4.1
1 parent a0d65d9 commit 6446fcf

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ You need to be careful when using expiry with a **WORKER**, **REQ** or
224224
sending one request at a time, and giving requests a time limit, may
225225
help.
226226

227+
##### `prefetch`
228+
227229
The option `'prefetch'`, determines how many messages RabbitMQ will
228230
send to the socket before waiting for some to be processed. This only
229231
has a noticable effect for **WORKER** and **REP** sockets. It is best
@@ -244,6 +246,8 @@ If you set it to `0`, RabbitMQ will forget any such
244246
constraint and just send what it has, when it has it. The default
245247
value is `0`.
246248

249+
##### `persistent`
250+
247251
The option `'persistent'` governs the lifetime of messages. Setting it
248252
to `true` means RabbitMQ will keep messages over restarts, by writing
249253
them to disk. This is an option for all sockets, and crucially,

RELEASE_NOTES

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
rabbit.js release notes
22
=======================
33

4+
v0.4.1
5+
------
6+
7+
This release adds:
8+
9+
* The socket option 'topic' and PubSocket#publish() for sending
10+
messages with topics
11+
* The ability to specify topic matching when using a SUB socket.
12+
* The socket option 'persistent' for making messages survive server
13+
restarts
14+
415
v0.4.0
516
------
617

0 commit comments

Comments
 (0)