Sha256: 0c7548f4d6d359e681aa603842c786289a802af9cab55ccb051eb84f25d9430e
Contents?: true
Size: 316 Bytes
Versions: 6
Compression:
Stored size: 316 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
6 entries across 6 versions & 1 rubygems