refactor
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a0f6ff6f7d
commit
a72746d491
@ -23,6 +23,8 @@
|
||||
#define REPERTORY_INCLUDE_TYPES_REPERTORY_HPP_
|
||||
|
||||
namespace repertory {
|
||||
constexpr const auto default_timeout_ms{60000U};
|
||||
|
||||
template <typename data_t> class atomic final {
|
||||
public:
|
||||
atomic() : mtx_(std::make_shared<std::mutex>()) {}
|
||||
@ -321,7 +323,7 @@ struct host_config final {
|
||||
std::string host_name_or_ip{"localhost"};
|
||||
std::string path;
|
||||
std::string protocol{"http"};
|
||||
std::uint32_t timeout_ms{60000U};
|
||||
std::uint32_t timeout_ms{default_timeout_ms};
|
||||
|
||||
auto operator==(const host_config &cfg) const noexcept -> bool {
|
||||
if (&cfg != this) {
|
||||
@ -350,7 +352,7 @@ struct s3_config final {
|
||||
std::string encryption_token;
|
||||
std::string region{"any"};
|
||||
std::string secret_key;
|
||||
std::uint32_t timeout_ms{60000U};
|
||||
std::uint32_t timeout_ms{default_timeout_ms};
|
||||
std::string url;
|
||||
bool use_path_style{false};
|
||||
bool use_region_in_url{false};
|
||||
|
Loading…
x
Reference in New Issue
Block a user