From 11e454643ca0a8556f972ba6954dfec3855c62e7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 27 Jul 2021 10:44:29 +0000 Subject: treewide: s/sequential_shard/sequential-shard/g The underscore variant was never documented and maintaining the difference between the command-line and internal hash is not worth it. --- lib/PublicInbox/V2Writable.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/V2Writable.pm') diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 4c1accbb..025487d2 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -1279,7 +1279,7 @@ sub index_todo ($$$) { sub xapian_only { my ($self, $opt, $sync, $art_beg) = @_; - my $seq = $opt->{sequential_shard}; + my $seq = $opt->{'sequential-shard'}; $art_beg //= 0; local $self->{parallel} = 0 if $seq; $self->idx_init($opt); # acquire lock @@ -1329,7 +1329,7 @@ sub index_sync { } my $pr = $opt->{-progress}; - my $seq = $opt->{sequential_shard}; + my $seq = $opt->{'sequential-shard'}; my $art_beg; # the NNTP article number we start xapian_only at my $idxlevel = $self->{ibx}->{indexlevel}; local $self->{ibx}->{indexlevel} = 'basic' if $seq; -- cgit v1.2.3-24-ge0c7