The problem i identified, happens with Redis.bRPop proc, but doesn't happen with Redis.rPop proc.
proc bRPop*(r: Redis, keys: varargs[string], timeout: int): RedisList =
## Remove and get the *last* element in a list, or block until one
## is available.
var args: seq[string] = @[]
for i in items(keys): args.add(i)
args.add($timeout)
r.sendCommand("BRPOP", args)
return r.readArray()
@Araq
This doesn't work:
The problem i identified, happens with Redis.bRPop proc, but doesn't happen with Redis.rPop proc.