1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Use PubSub.Channel to not burn CPU on errors

This commit is contained in:
Vladimir Mihailenco
2018-10-01 11:38:21 +03:00
parent 69445c6e87
commit 48e9afe2a7
3 changed files with 108 additions and 96 deletions

View File

@ -20,7 +20,6 @@ func init() {
PoolSize: 10,
PoolTimeout: 30 * time.Second,
})
// redisdb.FlushDB()
}
func ExampleNewClient() {