Skip to content

Commit

Permalink
Do not cache results fetched from firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnandagopal committed Jan 17, 2024
1 parent cc808d5 commit a051dfe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def check_if_required_env_variables_are_present():
all_leaderboards_ref = db.reference("vitcc").child("owasp")


@lru_cache(maxsize=None)
def fetch_data(act: int | str) -> list[dict]:
"""Return a list of all members in the act. Sorted by points"""
data_of_act: dict = all_leaderboards_ref.child(f"leaderboard-act{act}").get()
Expand Down

0 comments on commit a051dfe

Please sign in to comment.