Skip to content

Fix sleep-disabled max elapsed retries#123

Merged
kamui merged 3 commits into
mainfrom
fix-sleep-disabled-max-elapsed
May 23, 2026
Merged

Fix sleep-disabled max elapsed retries#123
kamui merged 3 commits into
mainfrom
fix-sleep-disabled-max-elapsed

Conversation

@kamui
Copy link
Copy Markdown
Owner

@kamui kamui commented May 23, 2026

Summary

  • Treat skipped sleep intervals as zero when enforcing max_elapsed_time
  • Add a regression spec with stubbed monotonic time for deterministic coverage

Test Plan

  • bundle exec rspec
  • bundle exec rubocop lib/retriable.rb spec/retriable_spec.rb

Notes

  • Full bundle exec rake still hits existing repo-wide RuboCop offenses outside this PR.

@kamui kamui merged commit 3d387d7 into main May 23, 2026
13 checks passed
@kamui kamui deleted the fix-sleep-disabled-max-elapsed branch May 23, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant