Skip to content

Commit f1488c9

Browse files
author
M. Peter
committed
Fixed a stupid error with the host config of the writer
1 parent 26d0b76 commit f1488c9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ The writer is connected to `nsqd`
530530
## Release History
531531
|Version|Date|Description|
532532
|:--:|:--:|:--|
533+
|0.1.2|2016-07-22|Fixed a stupid error with the host config of the writer|
533534
|0.1.1|2016-07-19|Removed debugging output|
534535
|0.1.0|2016-07-15|Updated dependencies [Issue#2](https://github.com/mpneuried/nsq-logger/issues/2) and optimized activate [Issue#3](https://github.com/mpneuried/nsq-logger/issues/3)|
535536
|0.0.7|2016-01-20|Added raw nsqjs Message as last argument to the `message` event |

_src/writer.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class NsqWriter extends require( "./basic" )
4545
if @client?
4646
return @client
4747

48-
@client = new nsq.Writer( "127.0.0.1", @config.port, @config )
48+
@client = new nsq.Writer( @config.host, @config.port, @config )
4949

5050
@client.on( nsq.Writer.READY, @onConnect )
5151
@client.on( nsq.Writer.CLOSED, @onDisconnect )

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nsq-logger",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "A nsq reader factory to handle readers multiple topics based on the `nsq-topics` module",
55
"keywords": [],
66
"homepage": "https://github.com/mpneuried/nsq-logger",

0 commit comments

Comments
 (0)