From 616cd734e76b7f4c9666bbaeaa6820fa9980816d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 16 Jul 2024 17:30:36 +0200 Subject: Pass RetryConfig instance to ApiBundle Also store a const ref for usage in setting up a fresh ApiBundle during target serve. --- src/other_tools/just_mr/fetch.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/other_tools/just_mr/fetch.cpp') 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 const& config, &*local_exec_config, /*repo_config=*/nullptr, &*auth_config, + &RetryConfig::Instance(), &*remote_exec_config}; bool const has_remote_api = -- cgit v1.2.3