commit f7213764402f06b85be6fe0e161ff7ca0fdb03f6
parent 6fce2f381a30845eac233f6a93ba8cf5bdbcfd10
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Wed, 9 Sep 2015 23:44:54 +0200
Don't enlargen max_entries when it is too small.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/drss/rss.d b/drss/rss.d
@@ -205,9 +205,6 @@ abstract class DRSS(T=Entry){
}
new_entries=0;
parse(cast(string)document);
- if(new_entries>max_entries){
- max_entries=new_entries+2;
- }
if(entry_count>max_entries){
removeOldEntries();
}