tenacity icon indicating copy to clipboard operation
tenacity copied to clipboard

Format seconds in `before_sleep_log` similar to `after_log`

Open aguinane opened this issue 1 year ago • 0 comments

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.

aguinane avatar Jan 24 '24 03:01 aguinane