]> Sergey Matveev's repositories - public-inbox.git/commit
http: release resources when idle
authorEric Wong <e@80x24.org>
Tue, 17 May 2016 08:16:47 +0000 (08:16 +0000)
committerEric Wong <e@80x24.org>
Tue, 17 May 2016 08:28:55 +0000 (08:28 +0000)
commit607ed1d281ef682239d6c3ecc70f9d5679a1f651
tree164ccfa318ea2ca2402368cddb19eeb4802aedd2
parentc1e768a619b01498ec391431e5fa31221aca89a7
http: release resources when idle

This lets us release old git processes so unlinked packs
(leftover from repacking) can be released.  This may also
be helpful for Xapian as indices get rebuilt for tuning.

For SQLite (msgmap), the there may be no benefit besides
reducing FD pressure.

Followup changes will unify the Inbox and NewsGroup
classes and allow better code-sharing between NNTP and
HTTP classes (as well as the planned POP3 class).
lib/PublicInbox/HTTP.pm
lib/PublicInbox/WWW.pm