Skip to content

Commit

Permalink
Minor fix, log ms instead seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jnavarrom committed Feb 17, 2021
1 parent 2213471 commit 88f3f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/retryHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class RetryController: public IRetryController, public karere::DeleteTrackable
if (mAttemptTimeout) //set an attempt timeout timer
{
unsigned attemptTimeout = calcAttemptTimeoutNoRandomness();
RETRY_LOG("Setting a timeout for attempt %zu: %u seconds", mCurrentAttemptNo, attemptTimeout);
RETRY_LOG("Setting a timeout for attempt %zu: %u ms", mCurrentAttemptNo, attemptTimeout);
auto wptr = weakHandle();
mTimer = setTimeout([wptr, this, attempt, attemptTimeout]()
{
Expand Down

0 comments on commit 88f3f04

Please sign in to comment.