You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
The text was updated successfully, but these errors were encountered:
@Araq
This doesn't work:
The problem i identified, happens with Redis.bRPop proc, but doesn't happen with Redis.rPop proc.
The text was updated successfully, but these errors were encountered: