Releases: Nordix/eredis
v1.7.1
v1.7.0
-
Replaces
error_logger
withlogger
. -
Turns repeated reconnection errors into log level
notice
. -
Parser optimizations.
-
Enables performance tuning of the received packets handling.
The socket is set to{active, N}
with N = 10 by default.
This is configurable by including{active, N}
in the socket options or
in the TLS options when TLS is used.Note that
{active, N}
with TLS requires OTP 21.3 or later.
When using OTP below 21.3 the option needs to be set to{active, true}
.
v1.6.0
-
Adds sentinel support.
-
Obfuscates username and password in the state, to prevent them from appearing
verbatim in logs and stack traces. They can be provided as 0-ary functions
returning the actual secret when applied. -
Fix a crash that happens when reconnect fails twice with two different
reasons. This bug was introduced in v1.5.0.
v1.5.1
-
Solves a bug introduced in v1.5.0 causing the reconnect process to survive
if the client is stopped while attempting to reconnect. -
Drops the spawned process used for reconnecting. Instead, the reconnect
attempts are scheduled using timers.The option
reconnect_sleep
now applies to the time between a
successful connect and the first reconnect attempt, if the connection is lost
just after connecting. However, there is no delay before reconnecting
if the connection has been up for at leastreconnect_sleep
milliseconds.
v1.5.0
-
No delay before the first reconnect attempt.
-
eredis_sub: Automatic re-subscribe on reconnect. Messages on the
form{subscribed, Channel, Pid}
are sent to the controlling
process in this case and need to be acked. -
eredis_sub: TLS, custom TCP options, AUTH with username, SELECT
database and registered name options added.
v1.4.1
v1.4.0
v1.3.3
v1.3.2
v1.3.1-nordix
- Fix builds with mix and other non-rebar tools
- Correct intermittent fault in TLS test case