about summary refs log tree commit homepage
path: root/lib/PublicInbox/Git.pm
diff options
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 /lib/PublicInbox/Git.pm
parent5c86be0c56d7f250a91c061c00243546d81146ae (diff)
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 'lib/PublicInbox/Git.pm')
0 files changed, 0 insertions, 0 deletions