From 55ca68e6fb193d5bff40e0621b051a995403fb6a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Sep 2022 07:17:16 +0200 Subject: [PATCH] same as last commit --- files/helpers/cron.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index 9529cf354..16a6b8fad 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -40,8 +40,9 @@ def cron(every_5m, every_1h, every_1d, every_1mo): if every_1d: stats.generate_charts_task(SITE) - route_static.stats_cached() sub_inactive_purge_task() + cache.delete_memoized(route_static.stats_cached) + route_static.stats_cached() if every_1mo: if KOFI_LINK: give_monthly_marseybux_task_kofi()