]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: release lock again during v1 batch callback
authorEric Wong <e@80x24.org>
Fri, 20 Apr 2018 03:27:38 +0000 (03:27 +0000)
committerEric Wong <e@80x24.org>
Fri, 20 Apr 2018 03:27:54 +0000 (03:27 +0000)
commit475e4d3f175a05acc4eab0b37fa9f52dbfecd2f8
treea7b4b3542c1fe561fe973def1790b7330adb0a5b
parent0ef5872cee83f07c9ae7afceb2e92257507dc3ca
searchidx: release lock again during v1 batch callback

Relaxing this lock during a v1 --reindex is important to keep
messages showing up in -watch process in a timely manner.
Looks like I deleted an extra line when doing the following
for v2:

s/xdb->commit_transaction/self->commit_txn_lazy/

Fixes: 35ff6bb106909b1c ("replace Xapian skeleton with SQLite overview DB")
lib/PublicInbox/SearchIdx.pm