profile

package
v2.0.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheOpts

type CacheOpts struct {
	CacheTime                  string             `koanf:"cacheTime"`
	ReleaseExecutorWorkerCount int                `koanf:"releaseExecutorWorkerCount"`
	LeakDetectionOptions       *LeakDetectionOpts `koanf:"leakDetection"`
}

type Caches

type Caches struct {
	Addresses            *CacheOpts `koanf:"addresses"`
	Children             *CacheOpts `koanf:"children"`
	Milestones           *CacheOpts `koanf:"milestones"`
	Blocks               *CacheOpts `koanf:"blocks"`
	IncomingBlocksFilter *CacheOpts `koanf:"incomingBlocksFilter"`
	UnreferencedBlocks   *CacheOpts `koanf:"unreferencedBlocks"`
}

type LeakDetectionOpts

type LeakDetectionOpts struct {
	Enabled               bool   `koanf:"enabled"`
	MaxConsumersPerObject int    `koanf:"maxConsumersPerObject"`
	MaxConsumerHoldTime   string `koanf:"maxConsumerHoldTime"`
}

type Profile

type Profile struct {
	Name   string  `koanf:"name"`
	Caches *Caches `koanf:"caches"`
}

Jump to

Keyboard shortcuts

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