]> Sergey Matveev's repositories - public-inbox.git/commit
inbox: properly register cleanup timer for git processes
authorEric Wong <e@80x24.org>
Sat, 7 Jan 2017 02:10:23 +0000 (02:10 +0000)
committerEric Wong <e@80x24.org>
Sat, 7 Jan 2017 02:10:23 +0000 (02:10 +0000)
commitf1a38b18d9a46531e18143a7cd4c7a66fc89adbc
tree023d91a72b549a5c3a6551786626497b78f1f53e
parentf74b64dbe75226b996367a6049ebd00a3e39ba49
inbox: properly register cleanup timer for git processes

We still need to cleanup git processes occasionally, since
"git cat-file --batch" does not release old packs (and
git processes are fairly expensive).

For SQLite and Xapian file handles, they should be capable
of managing themselves without too much trouble, so lets
try keeping them for the lifetime of a process.
lib/PublicInbox/Inbox.pm