commit | 99e7482e8b027f0521315e0f7830a0badae5c561 | [log] [tgz] |
---|---|---|
author | Chris Miller <christek91@gmail.com> | Mon Dec 18 03:20:45 2023 -0500 |
committer | GitHub <noreply@github.com> | Mon Dec 18 08:20:45 2023 +0000 |
tree | f74fb1a59185973f066e61152ae8303e666e3928 | |
parent | ebee81d31db13e95b3679bf0eebf19342dffdb9f [diff] |
Add ability to inspect upcoming sleep in `stop` funcs, and add `stop_before_delay` (#423) * Add upcoming_sleep to retry_state, and add stop_before_delay stop. * Add unit test to cover stop_before_delay. * Changelog. * Update docs for stop_before_delay. * More docs for the two stop_x_delay functions. * Add test to ensure it acts the same as stop_after_delay when upcoming sleep is 0. * Linter fixups. --------- Co-authored-by: Julien Danjou <julien@danjou.info>