about summary refs log tree commit homepage
path: root/script/public-inbox-learn
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-09-22 02:24:34 +0000
committerEric Wong <e@80x24.org>2021-09-22 05:21:22 +0000
commitcafbd77b3c82167d7dd6958c45373a0e92a0e2c5 (patch)
tree4e97001ef3d330cc6ebb62ed61db67205dc866e1 /script/public-inbox-learn
parent5c86be0c56d7f250a91c061c00243546d81146ae (diff)
downloadpublic-inbox-cafbd77b3c82167d7dd6958c45373a0e92a0e2c5.tar.gz
We shouldn't dispatch all outputs right away since they
can be expensive CPU-wise.  Instead, rely on DESTROY to
trigger further redispatches.

This also fixes a circular reference bug for the single-output
case that could lead to a leftover script/lei after MUA exit.

I'm not sure how --jobs/-j should work when the actual xsearch
and lei2mail has it's own parallelism ("--jobs=$X,$M"), but
it's better than having thousands of subtasks running.

Fixes: b34a267efff7b831 ("lei up: fix --mua with single output")
Diffstat (limited to 'script/public-inbox-learn')
0 files changed, 0 insertions, 0 deletions