Skip to content

Commit

Permalink
chore: add comments
Browse files Browse the repository at this point in the history
Co-authored-by: Gao Sun <gao@silverhand.io>
  • Loading branch information
simeng-li and gao-sun authored Nov 25, 2024
1 parent 094d897 commit c096dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/caches/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit c096dc2

Please sign in to comment.