Runnable/ponos

View on GitHub
src/rate-limiters/redis.js

Summary

Maintainability
A
1 hr
Test Coverage

Function limit has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  limit (queueName: string, opts: Object): Bluebird$Promise<void> {
    const log = this.log.child({
      queueName: queueName,
      opts: pick(opts, ['msTimeout', 'maxNumRetries', 'durationMs', 'maxOperations'])
    })
Severity: Minor
Found in src/rate-limiters/redis.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status