mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Do not send out info cmd after connect
This commit is contained in:
@@ -73,6 +73,7 @@ const makeRedisConnection = (
|
||||
}
|
||||
}),
|
||||
maxRetriesPerRequest: 0,
|
||||
enableReadyCheck: false,
|
||||
reconnectOnError: () => false,
|
||||
retryStrategy: () => {
|
||||
return null;
|
||||
@@ -120,7 +121,7 @@ const makeRedisConnection = (
|
||||
authenticate: async (credentials) => {
|
||||
try {
|
||||
client = await createClient();
|
||||
const result = await client.auth(credentials.username, credentials.password, () => {});
|
||||
const result = await client.auth(credentials.username, credentials.password);
|
||||
if (result !== "OK") {
|
||||
throw new BadRequestError({
|
||||
message: `Authentication failed: Redis returned ${result as string} status`
|
||||
|
||||
Reference in New Issue
Block a user