diff options
| author | alexromanov <[email protected]> | 2022-02-10 16:50:09 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:09 +0300 |
| commit | 1072ee1402b5fb9b10d1bc5fe5bf4f50b1316d41 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/retry/retry.cpp | |
| parent | 1862120cb626cb11ea2af213e3eea99e0c7f3dac (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 5ddfcecd624..92466cdeca5 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; } |
