Jon Solow commited on
Commit
2ad3915
·
1 Parent(s): 6a706f2

Fix cache for live stats

Browse files
Files changed (1) hide show
  1. src/pages/11_Scoreboard.py +1 -1
src/pages/11_Scoreboard.py CHANGED
@@ -34,7 +34,7 @@ def get_daily_updated_schedule() -> dict[int, dict[str, dict[str, str | int | pd
34
  return schedule
35
 
36
 
37
- @st.cache_data(ttl=60 * STAT_CACHE_SECONDS)
38
  def get_schedule_with_live() -> dict[int, dict[str, dict[str, str | int | pd.Timestamp]]]:
39
  schedule = get_live_schedule()
40
 
 
34
  return schedule
35
 
36
 
37
+ @st.cache_data(ttl=STAT_CACHE_SECONDS)
38
  def get_schedule_with_live() -> dict[int, dict[str, dict[str, str | int | pd.Timestamp]]]:
39
  schedule = get_live_schedule()
40