Skip to content

fixed can't raise invalid expire time when set ex param is 0 #848

New issue

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

Merged
merged 2 commits into from
May 8, 2017

Conversation

antsbean
Copy link

redis-cli
set py python ex 0 will raise invalid expire time in set
but
redis-py call set function
set('py', "python", ex=0) can't raise invalid expire time in set, lead to persist the key

I think this redis-py bug.

@NoneGG
Copy link

NoneGG commented May 8, 2017

That‘s true, the problem can be reproduced.

@andymccurdy
Copy link
Contributor

good catch. thanks!

@andymccurdy andymccurdy merged commit d6c300b into redis:master May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants