diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-17 16:14:12 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-19 09:50:37 +0200 |
commit | c8394c2ffc3688356cf985d46e8ce56d72050f6a (patch) | |
tree | 2a5deb6ed40f3e8daca90c02711cbc3aba3f548c /test/utils/remote_execution/bazel_action_creator.hpp | |
parent | 31b782119138859c29ac8ff54bcfe19aa00fca42 (diff) | |
download | justbuild-c8394c2ffc3688356cf985d46e8ce56d72050f6a.tar.gz |
Remove the RetryConfig singleton
...and replace it with instances created early via a builder
pattern.
Diffstat (limited to 'test/utils/remote_execution/bazel_action_creator.hpp')
-rw-r--r-- | test/utils/remote_execution/bazel_action_creator.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/utils/remote_execution/bazel_action_creator.hpp b/test/utils/remote_execution/bazel_action_creator.hpp index 4a7be08b..d915cda1 100644 --- a/test/utils/remote_execution/bazel_action_creator.hpp +++ b/test/utils/remote_execution/bazel_action_creator.hpp @@ -93,10 +93,12 @@ return nullptr; } + RetryConfig retry_config{}; // default retry config + BazelCasClient cas_client(remote_config->remote_address->host, remote_config->remote_address->port, &*auth_config, - &RetryConfig::Instance()); + &retry_config); std::vector<gsl::not_null<BazelBlob const*>> blob_ptrs; blob_ptrs.reserve(blobs.size()); |