terraform-provider-circleci icon indicating copy to clipboard operation
terraform-provider-circleci copied to clipboard

increase timeout for rest client to 30 seconds

Open andyroyle opened this issue 2 years ago • 0 comments

We are regularly seeing timeouts when reading contexts from the API

Error: Get "https://circleci.com/api/v2/context/<context_id>": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Tracing the code through, it seems that this rest client is used for GetContext so updating here should be the solution to this specific issue.

andyroyle avatar Aug 17 '22 12:08 andyroyle