Allow to set custom retry parameters
This commit is contained in:
parent
471c9e8559
commit
7aead375d8
2 changed files with 12 additions and 2 deletions
|
@ -69,6 +69,16 @@ const conf = convict({
|
|||
default: false,
|
||||
env: 'REDIS_EVENT_EXPIRE'
|
||||
},
|
||||
redis_retry_time: {
|
||||
format: Number,
|
||||
default: 10000,
|
||||
env: 'REDIS_RETRY_TIME'
|
||||
},
|
||||
redis_retry_delay: {
|
||||
format: Number,
|
||||
default: 500,
|
||||
env: 'REDIS_RETRY_DELAY'
|
||||
},
|
||||
listen_address: {
|
||||
format: 'ipaddress',
|
||||
default: '0.0.0.0',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue