concurrency

package
v1.232.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package concurrency resolves vendoring's edition-aware worker limit.

Index

Constants

View Source
const (
	Flag    = "max-concurrency"
	Env     = "ATMOS_VENDOR_MAX_CONCURRENCY"
	Default = 4
)

Variables

This section is empty.

Functions

func Effective

func Effective(config *schema.AtmosConfiguration, explicit int) (int, error)

Effective resolves library options. Zero means the loaded configuration's default.

func Resolve

func Resolve(flags *pflag.FlagSet, config *schema.AtmosConfiguration) (int, error)

Resolve applies explicit flag, environment, and edition-adjusted configuration precedence.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL