Sha256: bd1d7d91efa3acb628eb353e9475d7f1121a8502281a9fd7fc9c704f595d8bb0
Contents?: true
Size: 317 Bytes
Versions: 8
Compression:
Stored size: 317 Bytes
Contents
config = YAML::load(ERB.new(IO.read(File.join(Rails.root, 'config', 'redis.yml'))).result)[Rails.env].with_indifferent_access Resque.redis = Redis.new(host: config[:host], port: config[:port], thread_safe: true) Resque.inline = Rails.env.test? Resque.redis.namespace = "#{Sufia.config.redis_namespace}:#{Rails.env}"
Version data entries
8 entries across 8 versions & 2 rubygems