mirror of
https://github.com/hibiken/asynq.git
synced 2026-09-02 23:34:31 +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
50 KiB
50 KiB