James McCool commited on
Commit
c5993eb
·
1 Parent(s): 77cd474

Update cache duration in init_team_data function in app.py from 60 to 100 seconds to improve data retrieval efficiency. This change aims to enhance performance during data analysis by allowing a longer cache lifespan.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ with st.sidebar:
83
  value=5
84
  )
85
 
86
- @st.cache_data(ttl = 60)
87
  def init_team_data(team, win_loss, kill_prediction, death_prediction, start_date, end_date):
88
 
89
  collection = db["gamelogs"]
 
83
  value=5
84
  )
85
 
86
+ @st.cache_data(ttl = 100)
87
  def init_team_data(team, win_loss, kill_prediction, death_prediction, start_date, end_date):
88
 
89
  collection = db["gamelogs"]