Skip to content

Add http client timeout option #1431

@jooola

Description

@jooola

TL;DR

The client currently does not configure any HTTP timeout when doing requests to the API.

We should probably add a HTTP timeout option in the CLI to configure the hcloud-go client.

Expected behavior

The hcloud-go client used by the CLI has a HTTP timeout configured.

A sensible default might be needed. It is unclear to me what a good default is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions