mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
1.7 KiB
1.7 KiB
v9 UNRELEASED
Added
- Added support for RESP3 protocol. Contributed by @monkey92t who has done a lot of work recently.
- Added
ContextTimeoutEnabledoption that controls whether the client respects context timeouts and deadlines. See Redis Timeouts for details. - Added
ParseClusterURLto parse URLs intoClusterOptions, for example,redis://user:password@localhost:6789?dial_timeout=3&read_timeout=6s&addr=localhost:6790&addr=localhost:6791. - Added metrics instrumentation using
redisotel.IstrumentMetrics. See documentation
Changed
- Reworked hook interface and added
DialHook. - Replaced
redisotel.NewTracingHookwithredisotel.InstrumentTracing. See example and documentation. - Replaced
*redis.Zwithredis.Zsince it is small enough to be passed as value without making an allocation. - Renamed the option
MaxConnAgetoConnMaxLifetime. - Renamed the option
IdleTimeouttoConnMaxIdleTime. - Removed connection reaper in favor of
MaxIdleConns. - Removed
WithContextsincecontext.Contextcan be passed directly as an arg. - Removed
Pipeline.Closesince there is no real need to explicitly manage pipeline resources and it can be safely reused viasync.Pooletc.Pipeline.Discardis still available if you want to reset commands for some reason.
Fixed
- Improved and fixed pipeline retries.
- As usual, added more commands and fixed some bugs.