Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Do not send out info cmd after connect

Fang-Pen Lin2a2794c28a18
diff --git a/backend/src/ee/services/pam-resource/redis/redis-resource-factory.ts b/backend/src/ee/services/pam-resource/redis/redis-resource-factory.ts
index 01ae2556c3..23fa075de4 100644
--- a/backend/src/ee/services/pam-resource/redis/redis-resource-factory.ts
+++ b/backend/src/ee/services/pam-resource/redis/redis-resource-factory.ts
@@ -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`