feature/IO-3499-React-19: Move react-grid-gallery to a vendor directory internally, will be removed shortly but for now we keep it

This commit is contained in:
Dave
2026-01-13 17:17:28 -05:00
parent 1764397195
commit 7bdfbfabe9
15 changed files with 615 additions and 17 deletions

View File

@@ -213,7 +213,15 @@ const connectToRedisCluster = async () => {
const clusterRetryStrategy = (times) => {
const delay =
Math.min(CLUSTER_RETRY_BASE_DELAY + times * 50, CLUSTER_RETRY_MAX_DELAY) + Math.random() * CLUSTER_RETRY_JITTER;
logger.log(`Redis cluster not yet ready. Retrying in ${delay.toFixed(2)}ms`, "WARN", "redis", "api");
// Only log every 5th retry or after 10 attempts to reduce noise during startup
if (times % 5 === 0 || times > 10) {
logger.log(
`Redis cluster not yet ready. Retry attempt ${times}, waiting ${delay.toFixed(2)}ms`,
"WARN",
"redis",
"api"
);
}
return delay;
};