MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / WithLockDuration

Method WithLockDuration

lineage_worker.go:91–94  ·  view source on GitHub ↗

WithLockDuration sets the lock duration for claimed entries. Parameters: - duration time.Duration: The lock duration. Returns: - *LineageOutboxProcessor: The processor for chaining.

(duration time.Duration)

Source from the content-addressed store, hash-verified

89// Returns:
90// - *LineageOutboxProcessor: The processor for chaining.
91func (p *LineageOutboxProcessor) WithLockDuration(duration time.Duration) *LineageOutboxProcessor {
92 p.lockDuration = duration
93 return p
94}
95
96// Start begins processing outbox entries in the background.
97// The processor will poll for pending entries at the configured interval.

Callers 1

Calls

no outgoing calls

Tested by 1