glitch-soc/mastodon

View on GitHub
streaming/redis.js

Summary

Maintainability
A
1 hr
Test Coverage

Function configFromEnv has 31 lines of code (exceeds 25 allowed). Consider refactoring.
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:
Severity: Minor
Found in streaming/redis.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status