forked from rDrama/rDrama
cache worldcup result forever
parent
415dd9cc4a
commit
cd8bdaa5fd
|
@ -72,8 +72,9 @@ LEFT OUTER JOIN (
|
||||||
ORDER BY payout DESC, bets_won DESC, bets_total ASC;
|
ORDER BY payout DESC, bets_won DESC, bets_total ASC;
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@cache.memoize(timeout=60)
|
@cache.memoize()
|
||||||
def _special_leaderboard_get():
|
def _special_leaderboard_get():
|
||||||
|
print('worldcup', flush=True)
|
||||||
result = g.db.execute(_special_leaderboard_query).all()
|
result = g.db.execute(_special_leaderboard_query).all()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue