objectconfig

package
v0.48.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PutPoolSizeDefault is the default value of routine pool size to
	// process object.Put requests in object service.
	PutPoolSizeDefault = 10
	// DefaultTombstoneLifetime is the default value of tombstone lifetime in epochs.
	DefaultTombstoneLifetime = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Object added in v0.46.0

type Object struct {
	Delete struct {
		TombstoneLifetime uint64 `mapstructure:"tombstone_lifetime"`
	} `mapstructure:"delete"`

	Put struct {
		PoolSizeRemote int `mapstructure:"pool_size_remote"`
	} `mapstructure:"put"`
}

Object contains configuration for object service.

func (*Object) Normalize added in v0.46.0

func (o *Object) Normalize()

Normalize sets default values for Object configuration.

Jump to

Keyboard shortcuts

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