diff options
author | Eric Wong <e@80x24.org> | 2022-04-05 08:18:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-04-05 21:58:31 +0000 |
commit | 961690bae47c90a4a6960952587c6f4463fb4b19 (patch) | |
tree | a682dbe8735f0e33fada028c8d5969b32257a63c /lib/PublicInbox/LeiSearch.pm | |
parent | 5fb44bf4ffa9f2d4e82ca60859c99e32664ccc53 (diff) | |
download | public-inbox-961690bae47c90a4a6960952587c6f4463fb4b19.tar.gz |
This will make transparently upgrading from 1.7.0 -> 1.8.x easier. Only a single user has access to mail_sync.sqlite3, and R/W at the kernel-level is required for WAL, anyways.
Diffstat (limited to 'lib/PublicInbox/LeiSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiSearch.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiSearch.pm b/lib/PublicInbox/LeiSearch.pm index d0ca13f0..936c2751 100644 --- a/lib/PublicInbox/LeiSearch.pm +++ b/lib/PublicInbox/LeiSearch.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org> +# Copyright (C) all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> # read-only counterpart for PublicInbox::LeiStore @@ -101,7 +101,7 @@ sub xoids_for { my $git = $self->git; my $xoids = {}; # no lms when used via {ale}: - my $lms = $self->{-lms_ro} //= lms($self) if defined($self->{topdir}); + my $lms = $self->{-lms_rw} //= lms($self) if defined($self->{topdir}); for my $mid (@$mids) { for my $o (@overs) { my ($id, $prev); |