config

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceConfig

type ResourceConfig struct {
	PersistenceMaxQPS       dynamicconfig.IntPropertyFn
	PersistenceGlobalMaxQPS dynamicconfig.IntPropertyFn
	ThrottledLoggerMaxRPS   dynamicconfig.IntPropertyFn

	// EnableReadVisibilityFromES is the read mode of visibility
	EnableReadVisibilityFromES dynamicconfig.BoolPropertyFnWithDomainFilter
	// AdvancedVisibilityWritingMode is the write mode of visibility
	AdvancedVisibilityWritingMode dynamicconfig.StringPropertyFn

	// configs for db visibility
	EnableDBVisibilitySampling                  dynamicconfig.BoolPropertyFn                `yaml:"-" json:"-"`
	EnableReadDBVisibilityFromClosedExecutionV2 dynamicconfig.BoolPropertyFn                `yaml:"-" json:"-"`
	WriteDBVisibilityOpenMaxQPS                 dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
	WriteDBVisibilityClosedMaxQPS               dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
	DBVisibilityListMaxQPS                      dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`

	// configs for es visibility
	ESIndexMaxResultWindow dynamicconfig.IntPropertyFn                 `yaml:"-" json:"-"`
	ValidSearchAttributes  dynamicconfig.MapPropertyFn                 `yaml:"-" json:"-"`
	ESVisibilityListMaxQPS dynamicconfig.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
}

ResourceConfig is a subset of the service dynamic config for resource It's under a separate package to avoid circular dependency

Jump to

Keyboard shortcuts

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