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
commit16747e4f77455cca4932df21eb76f12cb0a97a5c (patch)
tree4dd6da4102d99d0d69dec53c1050d290a850a9f2 /library/cpp/retry/retry.cpp
parenta817f5de12611ec73085eba17f8ec7740a46bdb7 (diff)
downloadydb-16747e4f77455cca4932df21eb76f12cb0a97a5c.tar.gz
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 1 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 92466cdeca..efb2ec3dbc 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) {