Skip to content

idea: Define http.Client once in CLI #165

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelating to the CLI only

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions