]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
ds: move maxevents further down the stack
authorEric Wong <e@80x24.org>
Tue, 31 Oct 2023 20:42:52 +0000 (20:42 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Nov 2023 07:08:09 +0000 (07:08 +0000)
commitfdf90c0ffbf608ed08665eaffa5c750fa5a5bfee
treef9365a4472ef6e5dda901c68cc7c36b7da8c9fff
parent4d2f3651bde2f2c61b78973df56b6e6ee37a6dce
ds: move maxevents further down the stack

The epoll implementation is the only one which respects the
limit (kevent would, but IO::KQueue does not).  In any case,
I'm not a fan of the maxevents=1000 historical default since
it leads to fairness problems with shared non-blocking listeners
across multiple daemon workers.
lib/PublicInbox/DS.pm
lib/PublicInbox/DSKQXS.pm
lib/PublicInbox/DSPoll.pm
lib/PublicInbox/Epoll.pm
lib/PublicInbox/Select.pm
t/ds-poll.t
t/epoll.t