service

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcServerOptionsProvider

func GrpcServerOptionsProvider(
	logger log.Logger,
	rpcFactory common.RPCFactory,
	retryableInterceptor *interceptor.RetryableInterceptor,
	telemetryInterceptor *interceptor.TelemetryInterceptor,
	rateLimitInterceptor *interceptor.RateLimitInterceptor,
	tracingInterceptor telemetry.ServerTraceInterceptor,
) []grpc.ServerOption

Types

type PersistenceRateLimitingParams added in v1.17.2

type PersistenceRateLimitingParams struct {
	fx.Out

	PersistenceMaxQps          persistenceClient.PersistenceMaxQps
	PersistenceNamespaceMaxQps persistenceClient.PersistenceNamespaceMaxQps
	EnablePriorityRateLimiting persistenceClient.EnablePriorityRateLimiting
}

func NewPersistenceRateLimitingParams added in v1.17.2

func NewPersistenceRateLimitingParams(
	maxQps dynamicconfig.IntPropertyFn,
	globalMaxQps dynamicconfig.IntPropertyFn,
	namespaceMaxQps dynamicconfig.IntPropertyFnWithNamespaceFilter,
	enablePriorityRateLimiting dynamicconfig.BoolPropertyFn,
) PersistenceRateLimitingParams

Directories

Path Synopsis
Package frontend is a generated GoMock package.
Package frontend is a generated GoMock package.
Package history is a generated GoMock package.
Package history is a generated GoMock package.
api
archival
Package archival is a generated GoMock package.
Package archival is a generated GoMock package.
deletemanager
Package deletemanager is a generated GoMock package.
Package deletemanager is a generated GoMock package.
events
Package events is a generated GoMock package.
Package events is a generated GoMock package.
ndc
Package ndc is a generated GoMock package.
Package ndc is a generated GoMock package.
queues
Package queues is a generated GoMock package.
Package queues is a generated GoMock package.
replication
Package replication is a generated GoMock package.
Package replication is a generated GoMock package.
shard
Package shard is a generated GoMock package.
Package shard is a generated GoMock package.
tasks
Package tasks is a generated GoMock package.
Package tasks is a generated GoMock package.
workflow
Package workflow is a generated GoMock package.
Package workflow is a generated GoMock package.
workflow/cache
Package cache is a generated GoMock package.
Package cache is a generated GoMock package.
Package matching is a generated GoMock package.
Package matching is a generated GoMock package.
archiver
Package archiver is a generated GoMock package.
Package archiver is a generated GoMock package.
common
Package common is a generated GoMock package.
Package common is a generated GoMock package.
parentclosepolicy
Package parentclosepolicy is a generated GoMock package.
Package parentclosepolicy is a generated GoMock package.

Jump to

Keyboard shortcuts

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