mirror of
https://github.com/hibiken/asynq.git
synced 2026-05-16 08:04:40 +08:00
When redis.Subscribe succeeds but Receive() fails, the pubsub connection was not being closed before returning the error. This caused the subscriber goroutine to leak a Redis connection on each retry iteration, eventually exhausting the connection pool. Fixes #1095