Skip to content

Commit

Permalink
Merge pull request #1613 from wblakecaldwell/master
Browse files Browse the repository at this point in the history
Updated "retrying" log message when BackoffFunc implemented
  • Loading branch information
d1egoaz committed Feb 19, 2020
2 parents e417c7c + 38f81f8 commit e6bf586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ func (client *client) tryRefreshMetadata(topics []string, attemptsRemaining int,
Logger.Println("client/metadata skipping last retries as we would go past the metadata timeout")
return err
}
Logger.Printf("client/metadata retrying after %dms... (%d attempts remaining)\n", client.conf.Metadata.Retry.Backoff/time.Millisecond, attemptsRemaining)
Logger.Printf("client/metadata retrying after %dms... (%d attempts remaining)\n", backoff/time.Millisecond, attemptsRemaining)
if backoff > 0 {
time.Sleep(backoff)
}
Expand Down

0 comments on commit e6bf586

Please sign in to comment.