You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- fetch_text에 max_bytes 파라미터 추가: Content-Length 헤더로 다운로드 전 사전 reject, 헤더 없으면 content.read(max_bytes+1)로 제한적 읽기 - ValueError는 즉시 raise (retry 없음 — 크기는 재시도해도 안 줄어듦) - in-memory 캐시(_text_cache) 1MB 가드: 대형 응답은 디스크 캐시에만 저장 - MAX_EXHIBIT_SIZE 1MB → 5MB, fetch_text(max_bytes=...) 호출로 다운로드 전 체크 - exhibit deadline 30초 → 15초 (서비스 + 엔드포인트 + bulk) - 신규 테스트 5개: Content-Length 사전 거부, body 제한 읽기, 메모리 캐시 가드, 소형 캐시 유지, ValueError no-retry Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
5 months ago | |
|---|---|---|
| .. | ||
| __init__.py | 5 months ago | |
| alpaca.py | 5 months ago | |
| catalog.py | 5 months ago | |
| database.py | 5 months ago | |
| error_logs.py | 5 months ago | |
| etf.py | 5 months ago | |
| filings.py | 5 months ago | |
| financial.py | 5 months ago | |
| finra.py | 5 months ago | |
| fred.py | 5 months ago | |
| health.py | 5 months ago | |
| migration.py | 5 months ago | |
| news.py | 5 months ago | |
| overlay.py | 5 months ago | |
| price.py | 5 months ago | |
| request_logs.py | 5 months ago | |
| screener.py | 5 months ago | |
| stocks.py | 5 months ago | |