Skip to content

Commit 6250854

Browse files
committed
fixup! feat: Add new gh client implementation
1 parent 1d1976f commit 6250854

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ghclient/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func newTransport(tokenSource oauth2.TokenSource, opts Options) (http.RoundTripp
4646
// Wrap with retry transport
4747
retryClient := retryablehttp.NewClient()
4848
retryClient.Logger = nil
49-
retryClient.HTTPClient = &http.Client{Transport: tr}
49+
retryClient.HTTPClient = &http.Client{Transport: tr, Timeout: clientTimeout}
5050
retryClient.RetryMax = opts.RetryMax
5151
retryClient.RetryWaitMin = opts.RetryWaitMin
5252
retryClient.RetryWaitMax = opts.RetryWaitMax

0 commit comments

Comments
 (0)