We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af562ea commit 31922d5Copy full SHA for 31922d5
pagerdutyplugin/config.go
@@ -8,6 +8,7 @@ import (
8
"os"
9
"path/filepath"
10
"sync"
11
+ "time"
12
13
"github.com/PagerDuty/go-pagerduty"
14
"github.com/hashicorp/terraform-plugin-framework/diag"
@@ -71,6 +72,7 @@ func (c *Config) Client(ctx context.Context) (*pagerduty.Client, error) {
71
72
}
73
74
httpClient := http.DefaultClient
75
+ httpClient.Timeout = 1 * time.Minute
76
httpClient.Transport = logging.NewTransport("PagerDuty", http.DefaultTransport)
77
78
apiUrl := c.ApiUrl
0 commit comments