Skip to content

Commit

Permalink
Merge branch 'fix/log-timeout-unit' into 'develop'
Browse files Browse the repository at this point in the history
CHT-479: Retry logs seconds instead milliseconds

See merge request megachat/MEGAchat!1012
  • Loading branch information
sergiohs84 committed Feb 18, 2021
2 parents 39b3933 + 88f3f04 commit 187dff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/retryHandler.h
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 187dff0

Please sign in to comment.