diff options
author | alexromanov <alexromanov@yandex-team.ru> | 2022-02-10 16:50:09 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:09 +0300 |
commit | 1862120cb626cb11ea2af213e3eea99e0c7f3dac (patch) | |
tree | b325a32771001d8e7fbd6c9e25abed76daefcdfd /library/cpp/retry/retry.cpp | |
parent | fb59c45ea90695dc011d56248f3e699e1eccc542 (diff) | |
download | ydb-1862120cb626cb11ea2af213e3eea99e0c7f3dac.tar.gz |
Restoring authorship annotation for <alexromanov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/retry/retry.cpp')
-rw-r--r-- | library/cpp/retry/retry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/retry/retry.cpp b/library/cpp/retry/retry.cpp index 92466cdeca..5ddfcecd62 100644 --- a/library/cpp/retry/retry.cpp +++ b/library/cpp/retry/retry.cpp @@ -11,8 +11,8 @@ bool DoWithRetryOnRetCode(std::function<bool()> func, TRetryOptions retryOptions if (func()) { return true; } - auto sleep = retryOptions.SleepFunction; - sleep(retryOptions.GetTimeToSleep(attempt)); + auto sleep = retryOptions.SleepFunction; + sleep(retryOptions.GetTimeToSleep(attempt)); } return false; } |