Newer
Older
AnthosCertManager / pkg / controller / globals / timeout.go
@Yangyang Xie Yangyang Xie on 19 Nov 2022 537 bytes add issuer support
package globals

import "time"

const (
	// DefaultControllerContextTimeout is the default maximum amount of time which a single synchronize action in some controllers
	// may take before the sync will be cancelled by a context timeout.
	// This timeout might not be respected on all controllers thanks to backwards compatibility concerns, but it's a goal to have
	// all issuers have some default timeout which represents a default upper bound on the time they're permitted to take.
	DefaultControllerContextTimeout = 2 * time.Minute
)