tenacity
tenacity copied to clipboard
Format seconds in `before_sleep_log` similar to `after_log`
The before_sleep_log
messages shows the amount of seconds until retry to 15 decimal places.
The after_log
function rounds the number of seconds to 3 decimals.
The before_sleep_log
function should do the same.