Skip to content

Change python detectors cache implementation #731

@edena-legit

Description

@edena-legit

Currently, the Python client that the detectors use cache the whole response, which leads to OOM when the whl files are big.
First, I think the cache should be in the PythonResolver level and not in the client and cache Uri to HashSet of the dependencies.
Also, I think the cache should be changed to IMemoryCache instead of an actual MemoryCache instance.

AB#2098100

Metadata

Metadata

Assignees

No one assigned

    Labels

    detector:pipThe pip detectortype:refactorRefactoring or improving of existing code

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions