configs

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	APIToPriority = map[string]int{
		"AddActivityTask":             0,
		"AddWorkflowTask":             0,
		"CancelOutstandingPoll":       0,
		"DescribeTaskQueue":           0,
		"ListTaskQueuePartitions":     0,
		"PollActivityTaskQueue":       0,
		"PollWorkflowTaskQueue":       0,
		"QueryWorkflow":               0,
		"RespondQueryTaskCompleted":   0,
		"GetWorkerBuildIdOrdering":    0,
		"UpdateWorkerBuildIdOrdering": 0,
		"InvalidateTaskQueueMetadata": 0,
		"GetTaskQueueMetadata":        0,
	}

	APIPrioritiesOrdered = []int{0}
)

Functions

func NewPriorityRateLimiter

func NewPriorityRateLimiter(
	rateFn quotas.RateFn,
) quotas.RequestRateLimiter

Types

This section is empty.

Jump to

Keyboard shortcuts

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