Please sign in to comment.
dealing with some edge cases and documenting the new WATCH functionality
This patch deals with the following scenarios, which would ended up cleaning the inTransaction prematurely: 1. UNWATCH after MULTI t = multi t.unwatch 2. WATCH, MULTI (with keys) t = watch t.multi("foobar") t.unwatch 3 . MULTI + WATCH t = multi t.watch # this is invalid, but will change the _unwatch_cc to a function that would clear the inTransaction state I've also dropped a couple more tests, notably testing WATCH with ConnectionPool.
- Loading branch information...
Showing with 117 additions and 4 deletions.