diff options
author | Eric Wong <e@80x24.org> | 2018-04-20 02:01:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-04-20 02:01:25 +0000 |
commit | e350de7fdbe12dafc36e893e66ce8c93ec6dc3f2 (patch) | |
tree | 9332fdd26146d1e309ef910d04958a9ece5daa23 /lib/PublicInbox/Import.pm | |
parent | ddb61e55bc645975063673f346fceb96be7b2d70 (diff) | |
download | public-inbox-e350de7fdbe12dafc36e893e66ce8c93ec6dc3f2.tar.gz |
import: cleanup git cat-file processes when ->done
This should reduce idle cat-file instances
Diffstat (limited to 'lib/PublicInbox/Import.pm')
-rw-r--r-- | lib/PublicInbox/Import.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index b25427ee..250a2db3 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -440,6 +440,8 @@ sub done { _update_git_info($self, 1) if delete $self->{nchg}; $self->lock_release; + + $self->{git}->cleanup; } sub atfork_child { |