leporo / tornado-redis

Asynchronous Redis client that works within Tornado IO loop.
666 stars 162 forks source link

Queue commands on a connection - fixes #83 #92

Open koblas opened 9 years ago

koblas commented 9 years ago

The current code will yield at different points thus allowing for multiple commands to be inserted and expecting results. The following code only allows one command at a time to be executed thus making sure the parsing is only parsing one response.