RSS bot: raise initial channel fill cap from 5 to 20

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jon
2026-06-05 22:56:29 +01:00
parent 332b4a1801
commit 28a4c22ef3

View File

@@ -700,7 +700,7 @@ async def _run_bot(
if b.channel_gid and not config.get("rss_populated"): if b.channel_gid and not config.get("rss_populated"):
# first run for this feed: fill the channel with the latest items so new # first run for this feed: fill the channel with the latest items so new
# subscribers see content (recent history). Done once, then flagged. # subscribers see content (recent history). Done once, then flagged.
await _rss_poll(b, chat, b.channel_gid, config, seed=False, max_post=5) await _rss_poll(b, chat, b.channel_gid, config, seed=False, max_post=20)
config["rss_populated"] = True config["rss_populated"] = True
import db as _db import db as _db
_db.update_config(profile_id, config) _db.update_config(profile_id, config)