James McCool commited on
Commit
d40862e
·
1 Parent(s): 9ac987b

Update Streamlit app to extend cache resource TTL from 60 to 61 seconds, optimizing performance for data retrieval in the application.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -16,7 +16,7 @@ def init_conn():
16
 
17
  db = init_conn()
18
 
19
- @st.cache_resource(ttl = 60)
20
  def init_baselines():
21
  collection = db["HR_Table"]
22
  cursor = collection.find()
 
16
 
17
  db = init_conn()
18
 
19
+ @st.cache_resource(ttl = 61)
20
  def init_baselines():
21
  collection = db["HR_Table"]
22
  cursor = collection.find()