aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/retry/retry.cpp
diff options
context:
space:
mode:
authorspacelord <spacelord@yandex-team.ru>2022-02-10 16:48:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:15 +0300
commita0c6d9ad0cf6b94c527a15da147eb24335281b6d (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/retry/retry.cpp
parent16747e4f77455cca4932df21eb76f12cb0a97a5c (diff)
downloadydb-a0c6d9ad0cf6b94c527a15da147eb24335281b6d.tar.gz
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/retry/retry.cpp')
-rw-r--r--library/cpp/retry/retry.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/retry/retry.cpp b/library/cpp/retry/retry.cpp
index efb2ec3dbc..92466cdeca 100644
--- a/library/cpp/retry/retry.cpp
+++ b/library/cpp/retry/retry.cpp
@@ -1,10 +1,10 @@
-#include "retry.h"
-
-#include <util/stream/output.h>
-
+#include "retry.h"
+
+#include <util/stream/output.h>
+
void DoWithRetry(std::function<void()> func, TRetryOptions retryOptions) {
- DoWithRetry(func, retryOptions, true);
-}
+ DoWithRetry(func, retryOptions, true);
+}
bool DoWithRetryOnRetCode(std::function<bool()> func, TRetryOptions retryOptions) {
for (ui32 attempt = 0; attempt <= retryOptions.RetryCount; ++attempt) {