diff --git a/README.md b/README.md index 4058486b2..98bee725a 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,7 @@ option and which are reproduced below: -q, --no-redis-required Start even if can't connect to redis databases --redis-allowed-errors Number of allowed errors before redis is temporarily disabled --redis-disable-time Number of seconds redis communication is disabled because of errors + --redis-cmd-timeout Sets a timeout in milliseconds for redis commands -b, --b2b-url=STRING XMLRPC URL of B2B UA -L, --log-level=INT Mask log priorities above this level --log-facility=daemon|local0|... Syslog facility to use for logging @@ -447,10 +448,10 @@ The options are described in more detail below. even though rtpengine still starts. * --redis-allowed-errors - If this parameter is present and has a positive value, it will configure how many consecutive errors - are allowed when communicating with a redis server before the redis communication will be temporarily disabled - for that server. While the communcation is disabled there will be no attempts to reconnect to redis or send - commands to that server. Default value is -1, meaning that this feature is disabled. + If this parameter is present and has a value >= 0, it will configure how many consecutive errors are allowed + when communicating with a redis server before the redis communication will be temporarily disabled for that + server. While the communcation is disabled there will be no attempts to reconnect to redis or send commands + to that server. Default value is -1, meaning that this feature is disabled. * --redis-disable-time This parameter configures the number of seconds redis communication is disabled because of errors. diff --git a/etc/rtpengine.sample.conf b/etc/rtpengine.sample.conf index 14df93156..09a6a3057 100644 --- a/etc/rtpengine.sample.conf +++ b/etc/rtpengine.sample.conf @@ -41,6 +41,9 @@ port-max = 50000 # redis-num-threads = 8 # no-redis-required = false # redis-expires = 86400 +# redis-allowed-errors = -1 +# redis-disable-time = 10 +# redis-cmd-timeout = 0 # b2b-url = http://127.0.0.1:8090/ # xmlrpc-format = 0