]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiStore.pm
lei/store: checkpoint commits mail_sync.sqlite3
[public-inbox.git] / lib / PublicInbox / LeiStore.pm
index 821782b9a4135c3e352979ed590e618e047da490..0b033e3e3095b8d3a0725ad6a2850daf5b9e9c73 100644 (file)
@@ -419,6 +419,9 @@ sub checkpoint {
        if (my $im = $self->{im}) {
                $wait ? $im->barrier : $im->checkpoint;
        }
+       if (my $lms = delete $self->{lms}) {
+               $lms->lms_commit;
+       }
        $self->{priv_eidx}->checkpoint($wait);
 }