MCPcopy Index your code
hub / github.com/rilldata/rill / retryableHTTPRoundTripper

Function retryableHTTPRoundTripper

admin/github.go:446–453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444}
445
446func retryableHTTPRoundTripper() http.RoundTripper {
447 retryClient := retryablehttp.NewClient()
448 retryClient.RetryMax = 3
449 retryClient.RetryWaitMin = 2 * time.Second
450 retryClient.RetryWaitMax = 10 * time.Second
451 retryClient.Logger = nil // Disable inbuilt logger
452 return retryClient.StandardClient().Transport
453}
454
455func installationCacheKey(installationID int64, repoID *int64) string {
456 if repoID != nil {

Callers 1

NewGithubFunction · 0.85

Calls 1

NewClientMethod · 0.80

Tested by

no test coverage detected