diff options
author | Eric Wong <e@80x24.org> | 2016-12-17 04:27:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-12-17 05:41:49 +0000 |
commit | f084e94a4774b95eb45f55fc9f0dfda678522e54 (patch) | |
tree | 9606587e01b4e57b650d1f805b5046611110fbb3 /lib/PublicInbox/Config.pm | |
parent | 464048b28be5063a3151742feaaa170c9d9e3b19 (diff) | |
download | public-inbox-f084e94a4774b95eb45f55fc9f0dfda678522e54.tar.gz |
feed: support publicinbox.<name>.feedmax
This allows users to customize by using smaller or larger Atom feeds than the default value of 25 entries.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r-- | lib/PublicInbox/Config.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index 8d66cf8c..6e31df72 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -145,7 +145,8 @@ sub _fill { my $rv = {}; foreach my $k (qw(mainrepo address filter url newsgroup - infourl watch watchheader httpbackendmax)) { + infourl watch watchheader httpbackendmax + feedmax)) { my $v = $self->{"$pfx.$k"}; $rv->{$k} = $v if defined $v; } |