formatting

This commit is contained in:
Martin McKeaveney 2021-09-09 17:16:32 +01:00
parent 3f883f1b33
commit a6ff46be0c
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function init() {
CLIENT.disconnect() CLIENT.disconnect()
} }
const { redisProtocolUrl, opts, host, port } = getRedisOptions(CLUSTERED) const { redisProtocolUrl, opts, host, port } = getRedisOptions(CLUSTERED)
if (CLUSTERED) { if (CLUSTERED) {
CLIENT = new Redis.Cluster([{ host, port }], opts) CLIENT = new Redis.Cluster([{ host, port }], opts)