Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMaxLogsPerState = 100
View Source
const DefaultPruneInterval = 5 * time.Minute
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HistoryPrunerParams ¶
type HistoryPrunerParams struct { // TODO(perrito666) We might want to have some sort of limitation of the collection size too. MaxLogsPerState int PruneInterval time.Duration }
HistoryPrunerParams specifies how history logs should be prunned.
func NewHistoryPrunerParams ¶
func NewHistoryPrunerParams() *HistoryPrunerParams
NewHistoryPrunerParams returns a HistoryPrunerParams initialized with default parameter.
Click to show internal directories.
Click to hide internal directories.