diff options
author | Eric Wong <e@80x24.org> | 2021-05-26 18:08:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-26 19:33:30 +0000 |
commit | 1d6e1f9a6a66a42d18f109aea406237cf8571597 (patch) | |
tree | 827b7465812239e9b4070eaa7162b33cabf42584 /lib/PublicInbox/LeiSucks.pm | |
parent | 708b182a57373172f5523f3dc297659d58e03b58 (diff) | |
download | public-inbox-1d6e1f9a6a66a42d18f109aea406237cf8571597.tar.gz |
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.
Diffstat (limited to 'lib/PublicInbox/LeiSucks.pm')
-rw-r--r-- | lib/PublicInbox/LeiSucks.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiSucks.pm b/lib/PublicInbox/LeiSucks.pm index 2ce64d62..a71158f3 100644 --- a/lib/PublicInbox/LeiSucks.pm +++ b/lib/PublicInbox/LeiSucks.pm @@ -23,8 +23,7 @@ sub lei_sucks { } eval { require PublicInbox }; my $pi_ver = eval('$PublicInbox::VERSION') // '(???)'; - my $daemon = $lei->{oneshot} ? 'oneshot' : 'daemon'; - my @out = ("lei $pi_ver mode=$daemon\n", + my @out = ("lei $pi_ver\n", "perl $Config{version} / $os $rel / $mac ". "ptrsize=$Config{ptrsize}\n"); chomp(my $gv = `git --version` || "git missing"); |