Skip to content

Commit 66098e1

Browse files
authored
Merge pull request #11 from dadi/fix/remove-config-validation
fix: config changes
2 parents a438ddb + d64b321 commit 66098e1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const conf = convict({
1414
},
1515
queue: {
1616
host: {
17-
doc: 'The queue server host IP',
18-
format: 'ipaddress',
17+
doc: 'The queue server hostname or IP',
18+
format: '*',
1919
default: '127.0.0.1'
2020
},
2121
port: {
@@ -135,7 +135,6 @@ function loadConfig () {
135135
} finally {
136136
const env = conf.get('env')
137137
conf.loadFile('config/config.' + env + '.json')
138-
conf.validate()
139138
}
140139
}
141140

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ See the [Why do I need a task queue?](#why-do-i-need-a-task-queue) section for m
5151
## Configuration
5252

5353
* **queue**
54-
* **host**: (*ipaddress; default = 127.0.0.1*) The queue server host IP
54+
* **host**: (*string; default = 127.0.0.1*) The queue server hostname or IP
5555
* **port**: (*port; default = 6379*) The queue server port number
5656
* **broker**
5757
* **queue**: (*string; default = ''*) The queue name

0 commit comments

Comments
 (0)