mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Simplify PubSub API
This commit is contained in:
@ -81,8 +81,7 @@ var _ = Describe("pool", func() {
|
||||
connPool := client.Pool()
|
||||
|
||||
perform(1000, func(id int) {
|
||||
pubsub, err := client.Subscribe()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
pubsub := client.Subscribe("test")
|
||||
Expect(pubsub.Close()).NotTo(HaveOccurred())
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user