cache worldcup result forever

pull/110/head
Aevann 2023-02-02 02:37:03 +02:00
parent 415dd9cc4a
commit cd8bdaa5fd
1 changed files with 2 additions and 1 deletions

View File

@ -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