Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scavenger ¶
type Scavenger struct {
// contains filtered or unexported fields
}
Scavenger is the type that holds the state for history scavenger daemon
func NewScavenger ¶
func NewScavenger( db p.HistoryManager, rps int, client historyserviceclient.Interface, hbd ScavengerHeartbeatDetails, metricsClient metrics.Client, logger log.Logger, ) *Scavenger
NewScavenger returns an instance of history scavenger daemon The Scavenger can be started by calling the Run() method on the returned object. Calling the Run() method will result in one complete iteration over all of the history branches in the system. For each branch, the scavenger will attempt
- describe the corresponding workflow execution
- deletion of history itself, if there are no workflow execution
Click to show internal directories.
Click to hide internal directories.