about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-04-20 02:01:04 +0000
committerEric Wong <e@80x24.org>2018-04-20 02:01:25 +0000
commite350de7fdbe12dafc36e893e66ce8c93ec6dc3f2 (patch)
tree9332fdd26146d1e309ef910d04958a9ece5daa23 /lib
parentddb61e55bc645975063673f346fceb96be7b2d70 (diff)
downloadpublic-inbox-e350de7fdbe12dafc36e893e66ce8c93ec6dc3f2.tar.gz
import: cleanup git cat-file processes when ->done
This should reduce idle cat-file instances
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Import.pm2
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 {