Add initializer for customizing Resque's Redis connection
Created by: rspeicher
Went with an optional config/resque.yml
file. If it exists, it reads
the connection info from that based on environment. Also added a section
to the installation guide.
For reasoning behind not just using Rails.root
, see https://github.com/defunkt/resque#configuration
Closes #1486 (closed)
Created by: davispuh
there's little problem...
file
./config/initializers/resque.rb
executes after./config/initializers/4_resque_queues.rb
so
resque.yml
is not loaded and config is set only whenResque
have already been started with default host:porteasy fix would be taking
resque.rb
content and putting at beginning of4_resque_queues.rb
By Administrator on 2012-09-21T20:36:45 (imported from GitLab project)
Please register or sign in to reply