WithLockDuration sets the lock duration for claimed entries. Parameters: - duration time.Duration: The lock duration. Returns: - *LineageOutboxProcessor: The processor for chaining.
(duration time.Duration)
| 89 | // Returns: |
| 90 | // - *LineageOutboxProcessor: The processor for chaining. |
| 91 | func (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. |
no outgoing calls