Skip to content

idea: Define http.Client once in CLI #165

@TheJolman

Description

@TheJolman

This doesn't matter too much since the CLI runs once and returns, but we are making multiple requests per instance due to the health check that we do prior to sending the "real" request.

Defining http.Client{} once and passing it around would be more efficient (not that it matters too much) but it's more of a code quality thing.

Low prio, mostly writing this so I don't forget about if this become more relevant in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelating to the CLI onlylow prioLow priority. Something that doesn't affect core functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions