Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output: Don't output nanoseconds field of next retry time in warning log #3518

Merged
merged 1 commit into from
Sep 28, 2021

Commits on Sep 28, 2021

  1. output: Don't output nanoseconds field of next retry time in warning log

    It might output unfriendly fractions due to Time class's behavior as of
    Ruby 2.7, and actual retry time isn't so accurate.
    
    In addition, fix inappropriate labels:
    
    retry_time ->
    retry_times
    
    next_retry_seconds ->
    next_retry_time
    
    e.g.)
        before:
        [warn]: #0 failed to flush the buffer. retry_times=9 next_retry_time=2021-07-19 13:00:22 24648004639507749129/34359738368000000000
        after:
        [warn]: #0 failed to flush the buffer. retry_times=9 next_retry_time=2021-07-19 13:00:22
    
    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed Sep 28, 2021
    Configuration menu
    Copy the full SHA
    39728dc View commit details
    Browse the repository at this point in the history