fix: update Redis connection to include username as password fallback
This commit is contained in:
@@ -49,7 +49,7 @@ export async function initQueue() {
|
||||
host: redisUrl.hostname,
|
||||
port: parseInt(redisUrl.port || '6379'),
|
||||
db: parseInt(redisUrl.pathname?.replace('/', '') || '2'),
|
||||
password: redisUrl.password || undefined,
|
||||
password: redisUrl.password || redisUrl.username || undefined,
|
||||
maxRetriesPerRequest: null, // Required by BullMQ
|
||||
enableReadyCheck: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user