From c096dc2d07fcf59f3bc44f54e40287dcd463ab78 Mon Sep 17 00:00:00 2001 From: simeng-li Date: Mon, 25 Nov 2024 16:25:52 +0800 Subject: [PATCH] chore: add comments Co-authored-by: Gao Sun --- packages/core/src/caches/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/caches/index.ts b/packages/core/src/caches/index.ts index 6729681ce72..45531fc0a8a 100644 --- a/packages/core/src/caches/index.ts +++ b/packages/core/src/caches/index.ts @@ -92,7 +92,7 @@ export class RedisCache extends RedisCacheBase { socket: this.getSocketOptions(trySafe(() => new URL(redisUrl))), // Azure redis has a 10 minutes idle timeout // @see https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-connection#idle-timeout - pingInterval: 8 * 60 * 1000, + pingInterval: 8 * 60 * 1000, // 8 minutes }); this.client.on('error', (error) => {