Closed samuelebistoletti closed 9 years ago
Hey it looks like the return values of BLPOP
and LPOP
are different. Specifically, LPOP
always returns a bulk string or nil, and BLPOP x
returns an array of length two of bulk strings. That makes the type cast to redis.Bytes(...)
incorrect. I am reverting until this can be fixed to be an if statement that checks for nil and a coercion to []interface{}
(concretely, [][]byte
)
New pull request with default BLPOP interval set at 0.