objectconfig

package
v0.28.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// PutPoolSizeDefault is a default value of routine pool size to
	// process object.Put requests in object service.
	PutPoolSizeDefault = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PutConfig

type PutConfig struct {
	// contains filtered or unexported fields
}

PutConfig is a wrapper over "put" config section which provides access to object put pipeline configuration of object service.

func Put

func Put(c *config.Config) PutConfig

Put returns structure that provides access to "put" subsection of "object" section.

func (PutConfig) PoolSizeRemote added in v0.25.0

func (g PutConfig) PoolSizeRemote() int

PoolSizeRemote returns value of "pool_size_remote" config parameter.

Returns PutPoolSizeDefault if value is not positive number.

Jump to

Keyboard shortcuts

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