Skip to content
Permalink
Browse files

change default nsq port

Signed-off-by: Toby Yan <me@tobyan.com>
  • Loading branch information...
toby1991 committed May 5, 2019
1 parent 7ee5714 commit d5b17fe8960c5cd25e01d574f022528b90fa0ff4
Showing with 2 additions and 2 deletions.
  1. +1 −1 .env.example.json
  2. +1 −1 config/queue.go
@@ -16,5 +16,5 @@

"QUEUE_CONNECTION": "nsq",
"QUEUE_NSQ_HOST": "127.0.0.1",
"QUEUE_NSQ_PORT": "4151"
"QUEUE_NSQ_PORT": "4150"
}
@@ -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"),
},
}

0 comments on commit d5b17fe

Please sign in to comment.
You can’t perform that action at this time.