func golang.org/x/pkgsite/internal/config.GetEnvInt
6 uses
golang.org/x/pkgsite/internal/config (current package)
config.go#L50: func GetEnvInt(key string, fallback int) int {
config.go#L377: QPS: GetEnvInt("GO_DISCOVERY_QUOTA_QPS", 10),
golang.org/x/pkgsite/internal/fetch
load.go#L382: v := config.GetEnvInt("GO_DISCOVERY_MAX_MODULE_ZIP_MI", -1)
load.go#L392: mebis := config.GetEnvInt("GO_DISCOVERY_MAX_IN_FLIGHT_ZIP_MI", -1)
golang.org/x/pkgsite/internal/postgres
requeue.go#L126: var largeModulesLimit = config.GetEnvInt("GO_DISCOVERY_LARGE_MODULES_LIMIT", 100)
golang.org/x/pkgsite/cmd/worker
main.go#L37: timeout = config.GetEnvInt("GO_DISCOVERY_WORKER_TIMEOUT_MINUTES", 10)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |