diff options
author | Eric Wong <e@80x24.org> | 2018-04-20 03:27:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-04-20 03:27:54 +0000 |
commit | 475e4d3f175a05acc4eab0b37fa9f52dbfecd2f8 (patch) | |
tree | a7b4b3542c1fe561fe973def1790b7330adb0a5b /lib/PublicInbox/SearchIdx.pm | |
parent | 0ef5872cee83f07c9ae7afceb2e92257507dc3ca (diff) | |
download | public-inbox-475e4d3f175a05acc4eab0b37fa9f52dbfecd2f8.tar.gz |
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")
Diffstat (limited to 'lib/PublicInbox/SearchIdx.pm')
-rw-r--r-- | lib/PublicInbox/SearchIdx.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm index 7026fc4c..8c3bc2d3 100644 --- a/lib/PublicInbox/SearchIdx.pm +++ b/lib/PublicInbox/SearchIdx.pm @@ -698,6 +698,7 @@ sub _index_sync { } } $self->commit_txn_lazy; + $xdb = _xdb_release($self); # let another process do some work... < if (!$newest) { $xdb = $self->begin_txn_lazy; |