checkExistingRedis
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.