summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-16 17:30:36 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-19 09:50:37 +0200
commit616cd734e76b7f4c9666bbaeaa6820fa9980816d (patch)
treead9f43d86c3dc88b61c213625c625dbf20f7a167 /src/other_tools/just_mr/fetch.cpp
parent4e2e6585441cc69b2c2ebc29b9ca95e1804b5053 (diff)
downloadjustbuild-616cd734e76b7f4c9666bbaeaa6820fa9980816d.tar.gz
Pass RetryConfig instance to ApiBundle
Also store a const ref for usage in setting up a fresh ApiBundle during target serve.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index 8798c371..9774f0d6 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -21,6 +21,7 @@
#include "fmt/core.h"
#include "nlohmann/json.hpp"
#include "src/buildtool/auth/authentication.hpp"
+#include "src/buildtool/common/remote/retry_config.hpp"
#include "src/buildtool/execution_api/common/api_bundle.hpp"
#include "src/buildtool/execution_api/common/execution_api.hpp"
#include "src/buildtool/execution_api/local/config.hpp"
@@ -423,6 +424,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
&*local_exec_config,
/*repo_config=*/nullptr,
&*auth_config,
+ &RetryConfig::Instance(),
&*remote_exec_config};
bool const has_remote_api =