From a9959e053396539abfd54fbbd6be09f94d2cbd9a Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 26 Apr 2024 02:35:30 +0300 Subject: [PATCH] restore y'all-seeing eye on wpd --- files/helpers/cron.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index 444883e3e..1f0d32b8c 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -56,18 +56,18 @@ def cron_fn(every_5m, every_1d, every_1mo): _grant_two_year_badges() g.db.commit() - #if not IS_LOCALHOST: - #reddit_mentions_task() - #g.db.commit() + if not IS_LOCALHOST and SITE_NAME == 'WPD': + reddit_mentions_task() + g.db.commit() - #lemmy_mentions_task() - #g.db.commit() + lemmy_mentions_task() + g.db.commit() - #fourchan_mentions_task() - #g.db.commit() + fourchan_mentions_task() + g.db.commit() - #soyjak_mentions_task() - #g.db.commit() + soyjak_mentions_task() + g.db.commit() if every_1d or (not cache.get('stats') and not IS_LOCALHOST): if IS_HOMOWEEN():