Skip to content

Commit

Permalink
fix(object_store): fix delete objects timeout config (#16661)
Browse files Browse the repository at this point in the history
Co-authored-by: Zhanxiang (Patrick) Huang <hzxa21@hotmail.com>
  • Loading branch information
Li0k and hzxa21 committed May 9, 2024
1 parent 164e4a3 commit 91b7ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object_store/src/object/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit 91b7ee2

Please sign in to comment.