Documentation
¶
Overview ¶
Package main demonstrates the Pause/Resume and Auto-Retry mechanism.
Scenario: A webhook delivery service where:
- PauseAfterErrCount=3: auto-pauses after 3 consecutive failures
- PauseRetryDelay=30s: auto-resumes after 30 seconds
- Manual resume via client.ResumeJob() for operator intervention
- ConsecutiveErrors resets to 0 on success
This prevents a failing endpoint from consuming retry budget endlessly, giving operators time to investigate while allowing automatic recovery.
Click to show internal directories.
Click to hide internal directories.