How to configure Node Redis client to throw errors immediately, when connection has failed? [READ DETAILS]
I am using Node Redis with this config: import redis from "redis"; import { promisify } from "util"; import config from "../../appConfig"; const redisUrl = config.REDIS_URL; const [host, port] = redisUrl.substr(8).split(":"); const RedisClient = redis.createClient({ host: host, port: Number(port) });…