Skip to content

Commit

Permalink
fix the timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rphillips committed Sep 11, 2009
1 parent 2c4b158 commit 68ad464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/ioloop.py
Expand Up @@ -62,7 +62,7 @@ def unregister(self, fd):
del self._fds[fd]

def poll(self, timeout):
events = self._kq.control(self._fds.values(), len(self._fds), 3000)
events = self._kq.control(self._fds.values(), len(self._fds), timeout * 1000)
return [(int(e.ident), e.filter) for e in events]


Expand Down

1 comment on commit 68ad464

@rphillips
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kqueue is broken on Python 2.6.2

http://bugs.python.org/issue5910

Please sign in to comment.