Skip to content
Permalink
Browse files

feat(nsq): adding config file and changing log-level

  • Loading branch information...
Cryptophobia committed May 16, 2018
1 parent d20a759 commit e285a5707f45e44bd9cebc6a332903449ba5fbec
Showing with 11 additions and 1 deletion.
  1. +2 −1 rootfs/opt/nsq/bin/start-nsqd
  2. +9 −0 rootfs/opt/nsq/conf/nsqd.cfg
@@ -3,4 +3,5 @@ set -eo pipefail

export MAX_READY_COUNT=${MAX_READY_COUNT:-10000}
export DATA_PATH=${DATA_PATH:-/opt/nsq/data}
exec nsqd -max-rdy-count "${MAX_READY_COUNT}" --data-path "${DATA_PATH}"
export CONFIG_PATH=${CONFIG_PATH:-/opt/nsq/conf/nsqd.cfg}
exec nsqd -config "${CONFIG_PATH}"
@@ -0,0 +1,9 @@
## log verbosity level: debug, info, warn, error, or fatal
log-level = "warn"
verbose = false

## path to store disk-backed messages
# data_path = "/opt/nsq/data"

## maximum RDY count for a client
max_rdy_count = 10000

0 comments on commit e285a57

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