We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e674272 commit 4f0454fCopy full SHA for 4f0454f
object-store/src/lib.rs
@@ -326,8 +326,10 @@ impl PyClientOptions {
326
if let Some(backoff_base) = self.retry_backoff_base {
327
backoff.base = backoff_base;
328
}
329
- let mut config = RetryConfig::default();
330
- config.backoff = backoff;
+ let mut config = RetryConfig {
+ backoff,
331
+ ..Default::default()
332
+ };
333
if let Some(max_retries) = self.retry_max_retries {
334
config.max_retries = max_retries;
335
@@ -418,6 +420,7 @@ impl PyClientOptions {
418
420
retry_timeout = None,
419
421
))]
422
/// Create a new ObjectStore instance
423
+ #[allow(clippy::too_many_arguments)]
424
fn new(
425
user_agent: Option<String>,
426
content_type_map: Option<HashMap<String, String>>,
0 commit comments