]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: support --jobs [SEARCHERS],[WRITERS]
authorEric Wong <e@80x24.org>
Tue, 2 Feb 2021 11:47:02 +0000 (11:47 +0000)
committerEric Wong <e@80x24.org>
Wed, 3 Feb 2021 07:32:45 +0000 (07:32 +0000)
commitcff308df82cda8370e98c0c9c6a3704209362a60
tree4632b2a438f2fca6369f079064d771f7497fa5f3
parent9ff9755999351a582c857c38e2996b3ab7eb7481
lei q: support --jobs [SEARCHERS],[WRITERS]

This comma-delimited parameter allows controlling the number or
lei_xsearch and lei2mail worker processes.  With the change
to make IPC wq_* work use the event loop, it's now safe to
run fewer worker processes for searching with no risk of
deadlocks.

MAX_PER_HOST isn't configurable yet for remote hosts,
and maybe it shouldn't be due to potential for abuse.
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiQuery.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/V2Writable.pm