forgot to export

This commit is contained in:
ld3zian 2025-03-11 14:03:49 -07:00
parent f465484b1c
commit 547880a5f5

View file

@ -111,7 +111,7 @@ async function checkConnection(client: Redis, name: string): Promise<boolean> {
/**
* Get an active Redis client from the pool
*/
async function getRedisClient(): Promise<Redis> {
export async function getRedisClient(): Promise<Redis> {
// Try primary client
if (!primaryClient || primaryClient.status !== "ready") {
primaryClient = await createRedisClient(PRIMARY_REDIS_URL!);