purrr icon indicating copy to clipboard operation
purrr copied to clipboard

Format of printing in rate retry

Open GarrettMooney opened this issue 4 years ago • 0 comments

https://github.com/tidyverse/purrr/blob/6ead03537e9c4395b55721421f87e41a3a5ec76b/R/rate.R#L317

I am using rate backoff for query retry logic and frequently get log messages like:

Retrying in 6e+01 seconds.

My coworkers would like to see something like:

Retrying in 60 seconds.

Is there a reason that I haven't thought of that using sprintf along with %i would not be preferred to the current implementation when values are coerced to integer?

GarrettMooney avatar Aug 27 '20 17:08 GarrettMooney