Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

Override reconnect in ConnectionWatchdog #39

Open
fplini opened this issue Dec 21, 2017 · 0 comments
Open

Override reconnect in ConnectionWatchdog #39

fplini opened this issue Dec 21, 2017 · 0 comments

Comments

@fplini
Copy link

fplini commented Dec 21, 2017

Hi all, I'm using spring mvc and spring-data-redis. Sometimes my redis node goes down and ConnectionWatchdog throws a lot of exception "Connection refused". In this case I need to have a dns lookup and change the ip of my redis node and ConnectionWatchdog.reconnect should use the new ip.
Is there a way to override the remoteAddress or reconnect method?

Thanks
F

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

No branches or pull requests

1 participant