1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

chore: refactor client to es6 class and sort requires

This commit is contained in:
Ruben Bridgewater
2017-05-28 05:43:34 +02:00
parent 579e080ad5
commit 5fef7e246d
12 changed files with 253 additions and 253 deletions

View File

@@ -149,6 +149,11 @@ function handleReply (client, reply, command) {
return reply
}
/**
* @description Set default reconnect variables
*
* @param {RedisClient} client
*/
function setReconnectDefaults (client) {
client.retryTimer = null
client.retryTotaltime = 0