From 94ac7c13dc751ee434f3acd0881aca80299ba2cf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 27 Apr 2022 18:12:25 +0100 Subject: [PATCH] Slow down rss feed updates so that the cpu doesn't get as stressed --- newswire.py | 1 + 1 file changed, 1 insertion(+) diff --git a/newswire.py b/newswire.py index 54c22ac6b..7e16ca311 100644 --- a/newswire.py +++ b/newswire.py @@ -1610,6 +1610,7 @@ def get_dict_from_newswire(session, base_dir: str, domain: str, if items_list: for date_str, item in items_list.items(): result[date_str] = item + time.sleep(4) # add blogs from each user account _add_blogs_to_newswire(base_dir, domain, result,