Skip to content

Commit

Permalink
Fix default requeueDelay and documentation (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudleycarr authored Nov 21, 2017
1 parent c1f97b7 commit 7f82466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ options object.
event.
* ```maxAttempts: 0``` <br/>
The number of times a given message will be attempted (given to MESSAGE handler) before it will be handed to the DISCARD handler and then automatically finished. 0 means that there is **no limit.** If no DISCARD handler is specified and `maxAttempts > 0`, then the message will be finished automatically when the number of attempts has been exhausted.
* ```requeueDelay: 90``` <br/>
The default amount of time (seconds) a message requeued should be delayed by before being dispatched by nsqd.
* ```requeueDelay: 90,000 (90secs)``` <br/>
The default amount of time (milliseconds) a message requeued should be delayed by before being dispatched by nsqd.
* ```nsqdTCPAddresses``` <br/>
A string or an array of strings representing the host/port pair for nsqd instances.
<br/> For example: `['localhost:4150']`
Expand Down
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ConnectionConfig {
messageTimeout: null,
outputBufferSize: null,
outputBufferTimeout: null,
requeueDelay: 90,
requeueDelay: 90000,
sampleRate: null,
snappy: false,
tls: false,
Expand Down

0 comments on commit 7f82466

Please sign in to comment.