wilkenstein/redis-mock-js

discard needs to get out of the multi

Opened this issue · 0 comments

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.