We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dfc2b5 commit 3d55db1Copy full SHA for 3d55db1
apps/sim/lib/core/config/redis.ts
@@ -89,13 +89,7 @@ export function getRedisClient(): Redis | null {
89
90
retryStrategy: (times) => {
91
if (times > 10) {
92
- // Log at the transition point and every 20 attempts (~10 min) to avoid unbounded log volume
93
- if (times === 11 || times % 20 === 0) {
94
- logger.error('Redis reconnection stalled — retrying every 30s', {
95
- attempt: times,
96
- nextRetryMs: 30000,
97
- })
98
- }
+ logger.error(`Redis reconnection attempt ${times}`, { nextRetryMs: 30000 })
99
return 30000
100
}
101
const base = Math.min(1000 * 2 ** (times - 1), 10000)
0 commit comments