about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/SearchIdx.pm1
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;