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

Disconnections do not fail futures for pending requests

Open fractaloop opened this issue 10 years ago • 1 comments

In the the event of a disconnection, pending request Futures should be failed with a disconnection exception. Right now they will just hang until the timeout expires.

I'm not familiar with the TcpPipelineHandler and it's workings. Is this possible?

fractaloop avatar Apr 30 '14 13:04 fractaloop

It seems possible; however, as Akka IO pipeline has been removed and the pending requests fail eventually, it'd be better to wait until akka-stream lands, so that I can rewrite the TCP pipeline taking this into account.

guersam avatar May 26 '14 08:05 guersam