]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: do not release Xapian lock while (only) Msgmap is indexing
authorEric Wong <e@80x24.org>
Sun, 14 Aug 2016 10:21:08 +0000 (10:21 +0000)
committerEric Wong <e@80x24.org>
Sun, 14 Aug 2016 10:22:39 +0000 (10:22 +0000)
commit04ba9f9f26e15989944baa0204072f54c00d781f
tree573dc92e9be10b91bf966503d1eff4b22312f1de
parent843214095571db4ae68f5e92b8ef6057e1e6eba0
searchidx: do not release Xapian lock while (only) Msgmap is indexing

SQLite might index quickly, so we hold the lock used by Xapian
for the duration.  This probably needs to be reworked entirely,
actually.
lib/PublicInbox/SearchIdx.pm