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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user