From cd8bdaa5fdebd28162f26b4838aa1c4125acda4a Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 2 Feb 2023 02:37:03 +0200 Subject: [PATCH] cache worldcup result forever --- files/routes/special.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/routes/special.py b/files/routes/special.py index 4905cd282..8f5488fad 100644 --- a/files/routes/special.py +++ b/files/routes/special.py @@ -72,8 +72,9 @@ LEFT OUTER JOIN ( ORDER BY payout DESC, bets_won DESC, bets_total ASC; """ -@cache.memoize(timeout=60) +@cache.memoize() def _special_leaderboard_get(): + print('worldcup', flush=True) result = g.db.execute(_special_leaderboard_query).all() return result