Allow to run without Redis in development
This commit is contained in:
parent
c8999333a6
commit
4f30248a49
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
# Initializer to configure resque daemon
|
||||
Resque.redis = ENV.fetch("REDIS_URL", "redis://localhost:6379")
|
||||
Resque.redis = ENV['REDIS_URL'] if ENV['REDIS_URL']
|
||||
|
|
Loading…
Reference in a new issue