Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'koa2-session-redis' ReconnectRetryPolicy is not working with NodeJs #2

Open
jainath23 opened this issue Aug 26, 2020 · 0 comments
Open

Comments

@jainath23
Copy link

Hi Team,

My NodeJs app has been deployed on PCF and we are using Azure Redis for Cache.
But some time connection is getting failed from Azure Redis and app is getting down.

Is it possible to connect automatically from the app to Redis after connection failed??

I have used 'koa2-session-redis' NPM to connect Azure Redis with below config-
{
"host": "MyInsightsProdRedis.redis.cache.windows.net",
"port": "6380",
"password": "XXXX",
"connect_timeout": "3000",
"tls": "{"servername":"MyInsightsProdRedis.redis.cache.windows.net"}"
}

Thanks,
Jai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant