Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const conf = convict({
},
queue: {
host: {
doc: 'The queue server host IP',
format: 'ipaddress',
doc: 'The queue server hostname or IP',
format: '*',
default: '127.0.0.1'
},
port: {
Expand Down Expand Up @@ -135,7 +135,6 @@ function loadConfig () {
} finally {
const env = conf.get('env')
conf.loadFile('config/config.' + env + '.json')
conf.validate()
}
}

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ See the [Why do I need a task queue?](#why-do-i-need-a-task-queue) section for m
## Configuration

* **queue**
* **host**: (*ipaddress; default = 127.0.0.1*) The queue server host IP
* **host**: (*string; default = 127.0.0.1*) The queue server hostname or IP
* **port**: (*port; default = 6379*) The queue server port number
* **broker**
* **queue**: (*string; default = ''*) The queue name
Expand Down