File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,10 @@ with an error, or an error will be thrown if no callback is specified.
205
205
* ` retry_max_delay ` : defaults to ` null ` . By default every time the client tries to connect and fails time before
206
206
reconnection (delay) almost doubles. This delay normally grows infinitely, but setting ` retry_max_delay ` limits delay
207
207
to maximum value, provided in miliseconds.
208
+ * ` connect_timeout ` defaults to ` false ` . By default client will try reconnecting until connected. Setting ` connect_timeout `
209
+ limits total time for client to reconnect. Value is provided in miliseconds and is counted once the disconnect occured.
210
+ * ` max_attempts ` defaults to ` null ` . By default client will try reconnecting until connected. Setting ` max_attempts `
211
+ limits total amount of reconnects.
208
212
209
213
``` js
210
214
var redis = require (" redis" ),
You can’t perform that action at this time.
0 commit comments