[issue16873] increase epoll.poll() maxevents default value, and improve documentation
Antoine Pitrou
report at bugs.python.org
Sun Jan 6 15:53:57 CET 2013
Antoine Pitrou added the comment:
> 3) use a simple heuristic: start with a reasonable value for
> `maxevents` (FD_SETSIZE seems like a good candidate), and if
> epoll_wait() ever returns `maxevents` events, double the value (that's
> what libevent does, with a capping to 32000).
What if some events are edge-triggered?
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16873>
_______________________________________
More information about the Python-bugs-list
mailing list