Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Commit

Permalink
try adding redis config for resque
Browse files Browse the repository at this point in the history
  • Loading branch information
nyctef committed Dec 25, 2014
1 parent 8444135 commit fabcc42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/initializers/resque.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ENV["REDISTOGO_URL"] ||= "redis://localhost:6379/"

Resque.redis = Redis.new(url: ENV["REDISTOGO_URL"])
#Resque.redis = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password, :thread_safe => true)

0 comments on commit fabcc42

Please sign in to comment.