diff options
-rwxr-xr-x | newspipe/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/commands.py b/newspipe/commands.py index 3edcaa5f..a12f92ce 100755 --- a/newspipe/commands.py +++ b/newspipe/commands.py @@ -106,7 +106,7 @@ def delete_read_articles(): filter["user_id__ne"] = 1 #filter["readed"] = True # temporary comment filter["retrieved_date__lt"] = date.today() - relativedelta(days=5) - articles = ArticleController().read(**filter).limit(10000) + articles = ArticleController().read(**filter).limit(5000) for article in articles: try: db.session.delete(article) |