]> Sergey Matveev's repositories - public-inbox.git/commit
extsearchidx: close SQLite handles after attaching
authorEric Wong <e@80x24.org>
Wed, 23 Dec 2020 08:38:49 +0000 (08:38 +0000)
committerEric Wong <e@80x24.org>
Wed, 23 Dec 2020 23:46:41 +0000 (23:46 +0000)
commit6f9b927bf1fc5e84b92532477b275a45cd30cb01
tree5a4c2066f3e81184be752be4639d8471e585dba3
parent4a2e89007cb7b62151cb1869e49b27ebacfc27eb
extsearchidx: close SQLite handles after attaching

This is needed to prevent us from running out of FDs when
indexing many inboxes.  Perhaps checking these on attach_inbox
is unnecessary and may be removed entirely down the line.
lib/PublicInbox/ExtSearchIdx.pm