redis / rueidis

A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
Apache License 2.0
2.46k stars 158 forks source link

chore: use dpool for blocking commands to be able to respect more on ctx #668

Closed rueian closed 1 week ago

rueian commented 1 week ago

Route blocking commands to the dpool where connections can go pipelining and respect manual context cancellation.

Previously, blocking commands are route to the spool where pipelining is always disabled.