* [PATCH] import: cleanup git cat-file processes when ->done
@ 2018-04-20 2:01 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2018-04-20 2:01 UTC (permalink / raw)
To: meta
This should reduce idle cat-file instances
---
lib/PublicInbox/Import.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm
index b25427e..250a2db 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 {
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-20 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-20 2:01 [PATCH] import: cleanup git cat-file processes when ->done Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).