gosexy / redis

Redis client for Go that maps the full redis command list into equivalent Go functions.
MIT License
167 stars 44 forks source link

LRANGE fails on size 999 #42

Closed AllYourTexts closed 9 years ago

AllYourTexts commented 9 years ago

I'm seeing an issue where I get resp: Invalid input when I try to retrieve (via LRANGE) a list of >= 999 elements.

This is on Ubuntu 14.04 / go1.4.1 and the latest gosexy/redis.

I've created a POC program here: https://gist.github.com/AllYourTexts/f3073468febcb7000273

xiam commented 9 years ago

Thanks for your test code @AllYourTexts! The PR from @mtlynch fixed this one.