Skip to content
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

discard needs to get out of the multi #2

Open
wilkenstein opened this issue Mar 31, 2015 · 0 comments
Open

discard needs to get out of the multi #2

wilkenstein opened this issue Mar 31, 2015 · 0 comments
Assignees

Comments

@wilkenstein
Copy link
Owner

From http://redis.io/commands/discard:

Flushes all previously queued commands in a transaction and restores the connection state to normal.

So I think discard reverts the connection out of a multi, and won't accept multi commands on it anymore. That needs to be verified, but jedis sure seems to think it works this way.

@wilkenstein wilkenstein self-assigned this Mar 31, 2015
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

No branches or pull requests

1 participant