scala-redis-nb icon indicating copy to clipboard operation
scala-redis-nb copied to clipboard

Enable reconnection policies for failed connection attempts

Open fractaloop opened this issue 10 years ago • 1 comments

We discussed this a bit in #74, but it seems a reconnection policy should apply to failed connection attempts. If a server is partitioned for longer than the first attempt, the CommandFailed will terminate the actor prematurely.

I've added a simple update that fixes this oversight.

fractaloop avatar Apr 30 '14 16:04 fractaloop

I'd prefer being notified as early as an application failed to start, because in boot phase, the failure mostly happens due to misconfiguration, not temporary network partition. What do you think?

guersam avatar May 26 '14 07:05 guersam