We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8976c8e commit 1de0be1Copy full SHA for 1de0be1
src/api/redis.ts
@@ -63,8 +63,10 @@ export async function createRedisModule(
63
}
64
65
if (fallbackMode === "read-only") {
66
- logger.error("Primary Redis is down, using fallback in read-only mode");
67
- return new RedisModule.default(fallbackUrl);
+ logger.error(
+ "Primary Redis is down and Fallback Redis is down, using primary anyway",
68
+ );
69
+ return new RedisModule.default(primaryUrl);
70
71
72
logger.error(
0 commit comments