configs

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 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,
	}

	APIPriorities = map[int]struct{}{
		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