Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ability to specify Redis connection as env variable

  • Loading branch information...
commit 89076b114010aa577bc374ba873172e1f9ad3541 1 parent 0518f66
Johnny Khai Nguyen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/apn/tasks.rb
View
2  lib/apn/tasks.rb
@@ -8,6 +8,8 @@
task :sender => :setup do
require 'apn'
+ Resque.redis = ENV['REDIS'] if ENV['REDIS']
+
worker = nil
begin
Please sign in to comment.
Something went wrong with that request. Please try again.