change Redis port to the standard one
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# Production: set REDIS_URL env variable, e.g. redis://redis.example.com:6379/0
|
# Production: set REDIS_URL env variable, e.g. redis://redis.example.com:6379/0
|
||||||
|
|
||||||
# Use an isolated Redis logical database in tests to avoid clobbering dev data.
|
# Use an isolated Redis logical database in tests to avoid clobbering dev data.
|
||||||
url = ENV.fetch("REDIS_URL", "redis://localhost:6380/0")
|
url = ENV.fetch("REDIS_URL", "redis://localhost:6379/0")
|
||||||
url = url.sub(%r{/\d+$}, "/15") if Rails.env.test?
|
url = url.sub(%r{/\d+$}, "/15") if Rails.env.test?
|
||||||
|
|
||||||
RedisConnection = ConnectionPool.new(size: 5, timeout: 5) do
|
RedisConnection = ConnectionPool.new(size: 5, timeout: 5) do
|
||||||
|
|||||||
Reference in New Issue
Block a user