]> Sergey Matveev's repositories - public-inbox.git/commit
input_pipe: do not loop in ->event_step for fairness
authorEric Wong <e@80x24.org>
Sat, 16 Oct 2021 09:29:52 +0000 (09:29 +0000)
committerEric Wong <e@80x24.org>
Sat, 16 Oct 2021 10:37:08 +0000 (10:37 +0000)
commit932fea644c612d55d9a5299794c381bb7155f18b
tree3b2aeca5099a8512327299334865d000a5aade72
parentd5a668f3e30a195336dc5b86ecf2b339e6d1fcad
input_pipe: do not loop in ->event_step for fairness

Sigfd->event_step needs priority over InputPipe (and everything
else).  We keep Edge Triggering here but use ->requeue instead
of looping inside event_step.  This was necessary because
InputPipe can be used with regular files which can't be
monitored with epoll.

We'll also rid of the vestigial lei-oneshot support while we're
at it.
lib/PublicInbox/InputPipe.pm