Allow to run without Redis in development

This commit is contained in:
wvengen 2017-04-01 19:11:52 +02:00
parent c8999333a6
commit 4f30248a49

View file

@ -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']