Closed bzou closed 11 years ago
We've just closed a related issue, #5, could you try to update and try again?
You are correct. I use GO GET which doesn't include the fix yet. Thanks!
Please try go get -u to tell go get to update the package.
Regards,
José Carlos
On Jul 2, 2013, at 9:45, bzou notifications@github.com wrote:
You are correct. I use GO GET which doesn't include the fix yet. Thanks!
— Reply to this email directly or view it on GitHubhttps://github.com/gosexy/redis/issues/7#issuecomment-20349901 .
Go 1.1 + osx 10.8.4 conn is a redis client connection:
conn.LPush("list1", 1,2,3) conn.BRPop(0, "list1")
The BRPop call will not find the already exist value and block forever, it will only work if "list1" is NOT the first key in the call. The following modification will work: conn.LPush("list1", 1,2,3) conn.BRPop(0, "", "list1")