INNER CODE UNIT · Go

requestTimeout

werf/nelm · scripts/denolock/main.go:33

	requestTimeout     = 15 * time.Minute
)

// targets is the canonical platform list: the lock is generated from it and -verify checks the
// committed lock against it. Adding a platform also needs a pkg/ts/embed_<os>_<arch>.go.
var targets = map[string]string{
	"darwin/amd64":  "x86_64-apple-darwin",
	"darwin/arm64":  "aarch64-apple-darwin",
	"linux/amd64":   "x86_64-unknown-linux-gnu",
	"linux/arm64":   "aarch64-unknown-linux-gnu",
	"windows/amd64": "x86_64-pc-windows-msvc",
}

type options struct {
	checkUpstream bool
	outputPath    string
	parallelism   int
	verify        bool

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…