aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/retry/retry.cpp
diff options
context:
space:
mode:
authoralexromanov <alexromanov@yandex-team.ru>2022-02-10 16:50:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:09 +0300
commit1072ee1402b5fb9b10d1bc5fe5bf4f50b1316d41 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/retry/retry.cpp
parent1862120cb626cb11ea2af213e3eea99e0c7f3dac (diff)
downloadydb-1072ee1402b5fb9b10d1bc5fe5bf4f50b1316d41.tar.gz
Restoring authorship annotation for <alexromanov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/retry/retry.cpp')
-rw-r--r--library/cpp/retry/retry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/retry/retry.cpp b/library/cpp/retry/retry.cpp
index 5ddfcecd62..92466cdeca 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;
}