Date: Thu, 16 May 2019 19:26:47 -0500
To make the results reproducible and comprehensible when a large number of mail boxes are being processed process the mail boxes in sorted order, instead of in random hash order. Signed-off-by: "Eric W. Biederman" <[email protected]> --- lib/PublicInbox/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index 9f3f8df7eeaa..9ec00b0ddb6d 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -128,7 +128,7 @@ sub each_inbox { } } else { my %seen; - foreach my $k (keys %$self) { + foreach my $k (sort keys %$self) { $k =~ m!\Apublicinbox\.([^/]+)\.mainrepo\z! or next; next if $seen{$1}; $seen{$1} = 1; -- 2.23.0 -- unsubscribe: [email protected] archive: https://public-inbox.org/meta/
