`ZPopMax` If set count 1 , panic redis message is not a map/array/set or its length is not 2
23233 opened this issue · comments
23233 commented
// db rueidiscompat.Cmdable
c.db.ZPopMax(context.TODO(), c.redisKey, 1).Result()
panic redis message is not a map/array/set or its length is not 2
// if do not set count is ok
c.db.ZPopMax(context.TODO(), c.redisKey).Result()
version: 1.0.25
redis: 7.2.3