]> Sergey Matveev's repositories - public-inbox.git/commit
lei: require Socket::MsgHdr or Inline::C, drop oneshot
authorEric Wong <e@80x24.org>
Wed, 26 May 2021 18:08:57 +0000 (18:08 +0000)
committerEric Wong <e@80x24.org>
Wed, 26 May 2021 19:33:30 +0000 (19:33 +0000)
commit1d6e1f9a6a66a42d18f109aea406237cf8571597
tree827b7465812239e9b4070eaa7162b33cabf42584
parent708b182a57373172f5523f3dc297659d58e03b58
lei: require Socket::MsgHdr or Inline::C, drop oneshot

The cost of supporting separate code paths between oneshot and
daemon isn't worth the trouble; especially if there are more
users to support.  The test suite time nearly doubles with
oneshot, so that's hurting developer productivity.

FD passing is currently required to work efficiently with
remote HTTP(S) queries which return large messages, as seen in
commit 708b182a57373172f5523f3dc297659d58e03b58
("ipc: wq: handle >MAX_ARG_STRLEN && <EMSGSIZE case").

Additionally, upcoming support for IMAP IDLE and inotify-based
monitoring of Maildirs cannot work properly without a background
daemon.
lib/PublicInbox/GitCredential.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiEditSearch.pm
lib/PublicInbox/LeiStore.pm
lib/PublicInbox/LeiSucks.pm
lib/PublicInbox/LeiUp.pm
lib/PublicInbox/TestCommon.pm
script/lei
t/lei-daemon.t