fix: Move redis retry attempt number out of log message (#14807)

This commit is contained in:
Tom Moor authored and GitHub committed 2026-11-30 08:04:54 -05:00
1 parent be0e2c882c
commit a434dd66e5
1 file changed
+2 -2
+2 -2
View File
@@ -20,9 +20,9 @@ const defaultOptions: RedisOptions = {
retryStrategy(times: number) {
if (times === 1) {
Logger.info("lifecycle", `Retrying redis connection: attempt ${times}`);
Logger.info("lifecycle", "Retrying redis connection", { attempt: times });
} else {
Logger.warn(`Retrying redis connection: attempt ${times}`);
Logger.warn("Retrying redis connection", { attempt: times });
}
return Math.min(times * 500, 3000);
},