forked from rDrama/rDrama
1
0
Fork 0

cache /leaderboard for 24hrs

master
Aevann 2023-07-08 16:22:14 +03:00
parent 8b07f314e8
commit 9652c13286
1 changed files with 1 additions and 0 deletions

View File

@ -410,6 +410,7 @@ def transfer_bux(v:User, username:str):
@limiter.limit(DEFAULT_RATELIMIT)
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@auth_required
@cache.memoize()
def leaderboard(v:User):
users = g.db.query(User)