smGPA

package
v0.4.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0, BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Overview

TODO remove this nolint after the statemgr tests are fixed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type StateManagerTimers

type StateManagerTimers struct {
	// How long should the block stay in block cache before being deleted
	BlockCacheBlocksInCacheDuration time.Duration
	// How often should the block cache be cleaned
	BlockCacheBlockCleaningPeriod time.Duration
	// How often get block requests should be repeated
	StateManagerGetBlockRetry time.Duration
	// How often requests waiting for response should be checked for expired context
	StateManagerRequestCleaningPeriod time.Duration
	// How often timer tick fires in state manager
	StateManagerTimerTickPeriod time.Duration

	TimeProvider smGPAUtils.TimeProvider
}

func NewStateManagerTimers

func NewStateManagerTimers(tpOpt ...smGPAUtils.TimeProvider) StateManagerTimers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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