mrolla / terraform-provider-circleci

Terraform provider for CircleCI
MIT License
96 stars 37 forks source link

increase timeout for rest client to 30 seconds #111

Open andyroyle opened 2 years ago

andyroyle commented 2 years ago

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.