/
spec.js
40 lines (40 loc) · 1.05 KB
/
spec.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
description: 'Containerizable utility to read lines of text from input and push into a Redis list.',
required: {
redisHost: {
description: 'the Redis host',
example: 'localhost'
},
redisPort: {
description: 'the Redis port',
default: 6379
},
redisPassword: {
description: 'the Redis password',
required: false
},
redisKey: {
description: 'the Redis list key'
},
highLength: {
description: 'the length of the list for back-pressure',
default: 5000
},
delayMillis: {
description: 'the delay duration in milliseconds when back-pressure',
unit: 'ms',
default: 1000
},
loggerLevel: {
description: 'the logging level',
default: 'info',
example: 'debug'
}
},
test: {
loggerLevel: 'info'
},
development: {
loggerLevel: 'debug'
}
}