Skip to content

Commit

Permalink
change default nsq port
Browse files Browse the repository at this point in the history
Signed-off-by: Toby Yan <me@tobyan.com>
  • Loading branch information
toby1991 committed May 5, 2019
1 parent 7ee5714 commit d5b17fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example.json
Expand Up @@ -16,5 +16,5 @@

"QUEUE_CONNECTION": "nsq",
"QUEUE_NSQ_HOST": "127.0.0.1",
"QUEUE_NSQ_PORT": "4151"
"QUEUE_NSQ_PORT": "4150"
}
2 changes: 1 addition & 1 deletion config/queue.go
Expand Up @@ -12,7 +12,7 @@ func init() {
queue["connections"] = map[string]interface{}{
"nsq": map[string]interface{}{
"host": Env("QUEUE_NSQ_HOST", "127.0.0.1"),
"port": Env("QUEUE_NSQ_PORT", "4151"),
"port": Env("QUEUE_NSQ_PORT", "4150"),
},
}

Expand Down

0 comments on commit d5b17fe

Please sign in to comment.