Class: Gitlab::Redis::RateLimiting

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/gitlab/redis/rate_limiting.rb

Constant Summary

Constants inherited from Wrapper

Wrapper::InvalidPathError

Class Method Summary collapse

Methods inherited from Wrapper

config_file_name, config_file_path, #db, #initialize, instrumentation_class, #params, pool, pool_size, rails_root, redis_yml_path, #sentinels, #sentinels?, #store, store_name, #url, version, with

Constructor Details

This class inherits a constructor from Gitlab::Redis::Wrapper

Class Method Details

.config_fallbackObject

The data we store on RateLimiting used to be stored on Cache.



8
9
10
# File 'lib/gitlab/redis/rate_limiting.rb', line 8

def config_fallback
  Cache
end