Don't specify unlimited feed size by default

Having a feed with hundreds of articles, making a very large file, is
rarely expected.

Set a high fallback value of 100 so it does not change for small sites.

Still allow to have infinite feed by setting FEED_MAX_ITEM = None
This commit is contained in:
Martin (mart-e) 2023-05-06 08:40:29 +02:00
commit bb682973fb
3 changed files with 7 additions and 9 deletions

View file

@ -998,10 +998,10 @@ the ``TAG_FEED_ATOM`` and ``TAG_FEED_RSS`` settings:
placeholder. If not set, ``TAG_FEED_RSS`` is used both for save location and
URL.
.. data:: FEED_MAX_ITEMS
.. data:: FEED_MAX_ITEMS = 100
Maximum number of items allowed in a feed. Feed item quantity is
unrestricted by default.
Maximum number of items allowed in a feed. Setting to ``None`` will cause the
feed to contains every article. 100 if not specified.
.. data:: RSS_FEED_SUMMARY_ONLY = True