zhjwpku commented on code in PR #1060:
URL: https://github.com/apache/iceberg-cpp/pull/1060#discussion_r4660831173
##########
src/iceberg/catalog/rest/rest_catalog.cc:
##########
@@ -453,15 +453,11 @@ Result<std::shared_ptr<RestCatalog>> RestCatalog::Make(
if (!client_factory) {
client_factory = [](const RestCatalogProperties& properties)
-> Result<std::shared_ptr<HttpClient>> {
- // A value that is not positive leaves requests unbounded.
- const auto timeout_of = [&properties](const auto& entry) {
- return std::chrono::milliseconds(std::max<int64_t>(0,
properties.Get(entry)));
- };
+ ICEBERG_ASSIGN_OR_RAISE(auto options,
+
HttpClientOptions::FromProperties(properties.configs()));
Review Comment:
The top-level config field now controls key-based retries. Client
properties, defaults and overrides cannot enable support or extend the
advertised window. Added configuration and retry coverage.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]