replicatorconfig

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// PutTimeoutDefault is a default timeout of object put request in replicator.
	PutTimeoutDefault = time.Minute
)

Variables

This section is empty.

Functions

func PoolSize added in v0.36.0

func PoolSize(c *config.Config) int

PoolSize returns the value of "pool_size" config parameter from "replicator" section.

func PutTimeout

func PutTimeout(c *config.Config) time.Duration

PutTimeout returns the value of "put_timeout" config parameter from "replicator" section.

Returns PutTimeoutDefault if the value is not positive duration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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