From 547880a5f58163df7e8ab97475330e50dcf8fb35 Mon Sep 17 00:00:00 2001 From: ld3zian <42660576+ld3z@users.noreply.github.com> Date: Tue, 11 Mar 2025 14:03:49 -0700 Subject: [PATCH] forgot to export --- src/lib/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/db.ts b/src/lib/db.ts index 07d7b17..4cf39ae 100644 --- a/src/lib/db.ts +++ b/src/lib/db.ts @@ -111,7 +111,7 @@ async function checkConnection(client: Redis, name: string): Promise { /** * Get an active Redis client from the pool */ -async function getRedisClient(): Promise { +export async function getRedisClient(): Promise { // Try primary client if (!primaryClient || primaryClient.status !== "ready") { primaryClient = await createRedisClient(PRIMARY_REDIS_URL!);