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

Function quotaManagedRepos

admin/github.go:438–444  ·  view source on GitHub ↗
(org *database.Organization)

Source from the content-addressed store, hash-verified

436}
437
438func quotaManagedRepos(org *database.Organization) int {
439 if org.QuotaProjects >= 0 {
440 // allow additional 10 repos for cases where we provision a github repo but it is not used because of errors/user bailed out etc/unused repos were not garbage collected
441 return org.QuotaProjects + 10
442 }
443 return math.MaxInt
444}
445
446func retryableHTTPRoundTripper() http.RoundTripper {
447 retryClient := retryablehttp.NewClient()

Callers 1

CreateManagedGitRepoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected