James McCool commited on
Commit
53059ec
·
1 Parent(s): b9e7e41

Update cache duration in init_team_data function in app.py from 100 to 60 seconds to optimize data retrieval efficiency. This change aims to balance performance and resource usage during data analysis.

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 = 100)
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 = 60)
87
  def init_team_data(team, win_loss, kill_prediction, death_prediction, start_date, end_date):
88
 
89
  collection = db["gamelogs"]