phlegx/redlics

View on GitHub
lib/redlics/config.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method initialize has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def initialize
      @config = OpenStruct.new(
        pool_size: 5,                              # Default connection pool size is 5
        pool_timeout: 5,                           # Default connection pool timeout is 5
        namespace: 'rl',                           # Default Redis namespace is 'rl', short name saves memory
Severity: Minor
Found in lib/redlics/config.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status