GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changed return type of redis.ttl from size_t(ulong) to long, since it returns -1 for expired keys
also included a potential implementation of redis.zrangebyscore covering all arguments with 2 functions.
changed return type of redis.ttl from size_t(ulong) to long, since it…
… returns -1 for expired keys
redis.zrangebyscore potential implementation
Potential implementation, to be discussed
As Jan is currently not available I'll just merge this in - it looks very reasonable to me. I'll also check with him, to avoid all those cast(ubyte)'s and maybe also the to!string() conversions that clutter the code.
Merge pull request #141 from ekyo/master
redis.ttl fix for expired keys. + potential implementation of redis.zrangebyscore