Skip to content

Commit

Permalink
Remove : legacy client poller
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo Crevon committed Oct 12, 2012
1 parent 3634e3a commit 1df19e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyelevator/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ def __del__(self):

def _connect(self, db):
self.context = zmq.Context()
self.poller = zmq.Poller()
self.socket = self.context.socket(zmq.XREQ)
self.socket.setsockopt(zmq.LINGER, 0)
self.socket.setsockopt(zmq.RCVTIMEO, self.timeout)
self.poller.register(self.socket, zmq.POLLIN)
self.socket.connect(self.host)
self.connect(db)

Expand Down

0 comments on commit 1df19e5

Please sign in to comment.