Skip to main content

checkExistingRedis

talawa-api


talawa-api / setup/redisConfiguration / checkExistingRedis

Function: checkExistingRedis()

> checkExistingRedis(): Promise<string | null>

The function checkExistingRedis checks if there is an existing Redis connection by iterating through a list of Redis URLs and testing the connection.

Returns

Promise<string | null>

The function checkExistingRedis returns a Promise that resolves to a string or null.

Defined in

src/setup/redisConfiguration.ts:71