2
0
mirror of https://github.com/boostorg/redis.git synced 2026-01-19 04:42:09 +00:00

Improves reconnection responsiveness.

As the user points out in

   https://github.com/boostorg/redis/issues/205

wait_for_all might be the cause of delay in the
reconnection. I could not observe any improvement in my
local setup but wait_for_one_error look the correct token
and all tests pass so I am willing to change it.
This commit is contained in:
Marcelo Zimbres
2024-08-18 11:11:05 +02:00
committed by Marcelo
parent abde1afcb0
commit 9039c3cd90
4 changed files with 13 additions and 2 deletions

View File

@@ -676,6 +676,14 @@ https://lists.boost.org/Archives/boost/2023/01/253944.php.
## Changelog
### Boost 1.87
* ([Issue 205](https://github.com/boostorg/redis/issues/205))
Improves reaction time to disconnection by using `wait_for_one_error`
instead of `wait_for_all`. The function `connection::async_run` was
also changed to return EOF to the user when that error is received
from the server. That is a breaking change.
### Boost 1.85
* ([Issue 170](https://github.com/boostorg/redis/issues/170))