mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:33:44 -07:00
forgot to export
This commit is contained in:
parent
f465484b1c
commit
547880a5f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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!);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue