Skip to content

Commit d29fa3d

Browse files
committed
refactor: remove outdated cache management notes from analyze_financial_asset.py
1 parent f8b53f3 commit d29fa3d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tools/analyze_financial_asset.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
logger = logging.getLogger(__name__)
1919

2020
# Cache for storing financial analysis results (session-level)
21-
# Note: This cache grows indefinitely. In production, consider implementing:
22-
# - Cache size limits (e.g., LRU eviction)
23-
# - TTL-based expiration for stale data
24-
# - Periodic cleanup in long-running applications
25-
# For typical Streamlit sessions, this is acceptable as the cache is cleared
26-
# on app restart and session_state provides the primary cache layer.
2721
_CACHE = {}
2822

2923

0 commit comments

Comments
 (0)