feature/IO-2998-enhanced-api-logging - Finish

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-10-25 08:11:33 -07:00
parent 1ca8b2a78d
commit 111f280674
2 changed files with 44 additions and 31 deletions

View File

@@ -174,7 +174,7 @@ const connectToRedisCluster = async () => {
Math.min(CLUSTER_RETRY_BASE_DELAY + times * 50, CLUSTER_RETRY_MAX_DELAY) + Math.random() * CLUSTER_RETRY_JITTER;
logger.log(
`[${process.env.NODE_ENV}] Redis cluster not yet ready. Retrying in ${delay.toFixed(2)}ms`,
"ERROR",
"WARN",
"redis",
"api"
);