streaming/redis.js
Function configFromEnv
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function configFromEnv(env) {
const redisNamespace = env.REDIS_NAMESPACE;
// These options apply for both REDIS_URL based connections and connections
// using the other REDIS_* environment variables: