Commit 7230b23e authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2190] reverse default kqueue/poll

parent 8ad1accc
......@@ -131,9 +131,9 @@ class MsgQ:
def setup_poller(self):
"""Set up the poll thing. Internal function."""
try:
self.poller = select.poll()
except AttributeError:
self.kqueue = select.kqueue()
except AttributeError:
self.poller = select.poll()
def add_kqueue_socket(self, socket, write_filter=False):
"""Add a kquque filter for a socket. By default the read
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment