master
Aevann1 2022-09-22 07:08:58 +02:00
parent 77fa9de79a
commit 9220424324
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ from files.helpers.roulette import spin_roulette_wheel
from files.helpers.get import * from files.helpers.get import *
from files.helpers.actions import * from files.helpers.actions import *
from files.classes import * from files.classes import *
from files.__main__ import cache
import files.helpers.lottery as lottery import files.helpers.lottery as lottery
import files.helpers.offsitementions as offsitementions import files.helpers.offsitementions as offsitementions
@ -31,6 +32,7 @@ def cron(every_5m, every_1h, every_1d, every_1mo):
spin_roulette_wheel() spin_roulette_wheel()
offsitementions.offsite_mentions_task() offsitementions.offsite_mentions_task()
if SITE_NAME == 'PCM': if SITE_NAME == 'PCM':
cache.delete_memoized(route_static.live_cached())
route_static.live_cached() route_static.live_cached()
if every_1h: if every_1h: