Skip to content

Add configurable max file size limit for LOOKUP content retrieval #58

@mchades

Description

@mchades

Context

LocalFSBackend._execute_lookup() calls read_bytes() with no upper bound on file size, which can OOM the server on very large binary files.

Proposed Approach

Add a max_file_size config field to BlobStorageBackendConfig (e.g., default 100 MB) and check file size before reading content.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions