Sha256: 802dad4d38334b211796f922a0a90f7414c98266bb62180be3990a6b1ee997a3

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

Stored size: 293 Bytes

Contents

if defined?(REDIS_MONITOR_OPTS)
  BackendConnection.setup do |config|
    config.host = REDIS_MONITOR_OPTS[:redis_host]
    config.port = REDIS_MONITOR_OPTS[:redis_port]
  end
  Authorization.setup(REDIS_MONITOR_OPTS[:permissions])
  Authentication.setup(REDIS_MONITOR_OPTS[:credentials])
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redis_monitor-0.3.2 lib/engine/config/initializers/configuration.rb
redis_monitor-0.3 lib/engine/config/initializers/configuration.rb
redis_monitor-0.2.1 lib/engine/config/initializers/configuration.rb