move yearly badges to every_1d

master
Aevann 2024-04-28 02:08:24 +03:00
parent 360ec73a45
commit 5839d69cd6
1 changed files with 6 additions and 6 deletions

View File

@ -50,12 +50,6 @@ def cron_fn(every_5m, every_1d, every_1mo):
_unpin_expired()
g.db.commit()
_grant_one_year_badges()
g.db.commit()
_grant_two_year_badges()
g.db.commit()
if not IS_LOCALHOST and SITE_NAME == 'WPD':
reddit_mentions_task()
g.db.commit()
@ -104,6 +98,12 @@ def cron_fn(every_5m, every_1d, every_1mo):
_set_top_poster_of_the_day_id()
g.db.commit()
_grant_one_year_badges()
g.db.commit()
_grant_two_year_badges()
g.db.commit()
if every_1mo:
_give_marseybux_salary()
g.db.commit()