Expand description
Read limit configuration for file operations
This module provides the single source of truth for bounding file reads.
These functions are used by both the new ReadFileHandler and the legacy
read_file_legacy path to ensure consistent behavior.
Constants§
- DEFAULT_
MAX_ READ_ LINES - Default absolute ceiling on lines returned by a single
read_filecall.
Functions§
- absolute_
line_ cap - Per-call absolute ceiling (in lines) for any line-based
read_filepath. - configure_
read_ limits - Update the read cache config (called during startup)
- read_
limit_ lines - Absolute ceiling (in lines) for a single line-based
read_filecall.