Merge pull request #262 from excid3/redis-url-env

Support Redis configuration with REDIS_URL env var
This commit is contained in:
Stanko Krtalić
2026-09-26 10:22:53 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
default: &default
adapter: redis
url: redis://localhost:6379
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379" } %>
development:
<<: *default
+1
View File
@@ -0,0 +1 @@
Resque.redis = ENV.fetch("REDIS_URL") { "redis://localhost:6379" }