Skip to content

Improve RequestsFetcher cleanup mechanisms #1303

@sechkova

Description

@sechkova

Description or feature request:
Implement RequestsFetcher as a context manager and/or provide public cleanup method to be called by its users (for ex. fetcher.close() )

Current behavior:
RequestsFetcher internlly tracks all exit paths to release allocated resources which is error prone.

Expected behavior:
Reliably release all resources allocated by RequestsFetcher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientRelated to the client (updater) implementationenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions