retry

package
v1.5.2-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseRPCRetryDelay   = time.Second
	MaxRPCRetryDelay    = 30 * time.Second
	RPCMaxRetryAttempts = 5
	RetryPower          = 3
)

Variables

This section is empty.

Functions

func Retry

func Retry(ctx context.Context, logger *zap.Logger, operation func() error, zapFields []zap.Field) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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