You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add configurable retry interval for queue retries (#144)
- Import `time` package
- Add `WithRetryInterval` function to set retry intervals
- Add `retryInterval` field to `Options` struct with default value of 1 second
- New file `options_test.go` for testing `WithRetryInterval` functionality with various durations
- Add `retryInterval` field to `Queue` struct
- Initialize ticker with `retryInterval` in `Queue` and update its usage in `start` method
Signed-off-by: appleboy <appleboy.tw@gmail.com>
0 commit comments