if not IS_LOCALHOST:

master
Aevann 2024-02-16 22:50:32 +02:00
parent df2b5856fe
commit 8707129a2e
1 changed files with 5 additions and 4 deletions

View File

@ -59,11 +59,12 @@ def cron_fn(every_5m, every_1d, every_1mo):
_grant_two_year_badges()
g.db.commit()
reddit_mentions_task()
g.db.commit()
if not IS_LOCALHOST:
reddit_mentions_task()
g.db.commit()
lemmy_mentions_task()
g.db.commit()
lemmy_mentions_task()
g.db.commit()
if every_1d or (not cache.get('stats') and not IS_LOCALHOST):
if IS_HOMOWEEN():