Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
thefab committed May 25, 2015
1 parent c07ecd0 commit 9891585
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class GetHandler(RequestHandler):
@tornado.gen.coroutine
def get(self):
client = tornadis.Client(port=6379)
yield client.connect()
yield client.call("BLPOP", "empty", 3)
self.finish()

Expand Down Expand Up @@ -79,7 +78,6 @@ def log(message):
def time_consuming_function():
log("blocking pop")
client = tornadis.Client(port=6379)
yield client.connect()
yield client.call("BLPOP", "empty", 3)
log("done waiting")

Expand Down

0 comments on commit 9891585

Please sign in to comment.