From dd69bbf1e146f72b1c35b8d4a4d49b02c5bf8b38 Mon Sep 17 00:00:00 2001 From: Li0k Date: Thu, 9 May 2024 17:18:15 +0800 Subject: [PATCH] fix(object_store): fix delete objects timeout config --- src/object_store/src/object/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object_store/src/object/mod.rs b/src/object_store/src/object/mod.rs index 2f32cb7c0716d..125ae9b9d33bb 100644 --- a/src/object_store/src/object/mod.rs +++ b/src/object_store/src/object/mod.rs @@ -1023,7 +1023,7 @@ fn get_attempt_timeout_by_type(config: &ObjectStoreConfig, operation_type: Opera } OperationType::Metadata => config.retry.metadata_attempt_timeout_ms, OperationType::Delete => config.retry.delete_attempt_timeout_ms, - OperationType::DeleteObjects => config.retry.delete_attempt_timeout_ms, + OperationType::DeleteObjects => config.retry.delete_objects_attempt_timeout_ms, OperationType::List => config.retry.list_attempt_timeout_ms, } }