mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
RSS: Make the cache bigger in order to prevent duplicated announces.
This commit is contained in:
parent
7043e17fb0
commit
15fb16a8ae
@ -295,7 +295,7 @@ class RSS(callbacks.Plugin):
|
||||
feed.announced_entries |= set(entry.id for entry in new_entries)
|
||||
# We keep a little more because we don't want to re-announce
|
||||
# oldest entries if one of the newest gets removed.
|
||||
feed.announced_entries.truncate(2*len(entries))
|
||||
feed.announced_entries.truncate(10*len(entries))
|
||||
return new_entries
|
||||
|
||||
def announce_feed(self, feed, initial):
|
||||
|
Loading…
Reference in New Issue
Block a user