You've already forked node-redis
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user