Permalink
Browse files

ability to specify Redis connection as env variable

  • Loading branch information...
1 parent 0518f66 commit 89076b114010aa577bc374ba873172e1f9ad3541 Johnny Khai Nguyen committed Apr 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/apn/tasks.rb
View
@@ -8,6 +8,8 @@
task :sender => :setup do
require 'apn'
+ Resque.redis = ENV['REDIS'] if ENV['REDIS']
+
worker = nil
begin

0 comments on commit 89076b1

Please sign in to comment.