]> Sergey Matveev's repositories - public-inbox.git/commit
listener: switch to level-triggered epoll
authorEric Wong <e@80x24.org>
Fri, 1 Oct 2021 09:54:38 +0000 (09:54 +0000)
committerEric Wong <e@80x24.org>
Fri, 1 Oct 2021 12:06:29 +0000 (12:06 +0000)
commit1181a7e6a853841f2d9fe8a9131aa05ad6d7e9d7
tree44136372cc9b92e1448c0df6eb3a86984a81f7a4
parent8234b8bb76c3ec98466435ab0c84301ae9788ca0
listener: switch to level-triggered epoll

On second thought, the ->requeue + accept retry code path isn't
worth the userspace complexity and overhead.  Level-triggered
epoll has always annoyed me since it takes an inefficient code
path in the kernel; but taking our less-efficient code path in
Perl seems even worse.  We also need to take load distribution
into account for multi-worker systems.
lib/PublicInbox/Listener.pm