From 431c0027ce42cac9c584fd546fee6d883c75e9c8 Mon Sep 17 00:00:00 2001 From: kassad Date: Thu, 10 Oct 2024 09:15:56 -0700 Subject: [PATCH] temp --- libs/adapters/src/redis/RedisCacheAdapter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/adapters/src/redis/RedisCacheAdapter.ts b/libs/adapters/src/redis/RedisCacheAdapter.ts index 0aaa5946242..d328f8d0a44 100644 --- a/libs/adapters/src/redis/RedisCacheAdapter.ts +++ b/libs/adapters/src/redis/RedisCacheAdapter.ts @@ -35,6 +35,7 @@ export class RedisCache implements Cache { const redisOptions: RedisClientOptions = {}; redisOptions['url'] = redis_url; if (redis_url.includes('rediss')) { + console.log('===using tls'); redisOptions['socket'] = { tls: true, rejectUnauthorized: false, @@ -42,6 +43,7 @@ export class RedisCache implements Cache { connectTimeout: CONNECT_TIMEOUT, }; } else { + console.log('===not using tls'); redisOptions['socket'] = { reconnectStrategy: redisRetryStrategy, connectTimeout: CONNECT_TIMEOUT,