Skip to content

Commit 3234043

Browse files
committed
Add username to Redis configuration
Update the Resque initializer to include the `REDIS_USERNAME` environment variable when configuring the Redis connection. This allows support for Redis instances that require username-based authentication
1 parent d2026d7 commit 3234043

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/initializers/resque.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Resque.redis = Redis.new(
22
host: ENV["REDIS_HOST"],
33
port: ENV["REDIS_PORT"],
4+
username: ENV["REDIS_USERNAME"],
45
password: ENV["REDIS_PASSWORD"],
56
thread_safe: true
67
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy