Skip to content

Commit

Permalink
fix(core): write concurrent doesn't set correctly (#4816)
Browse files Browse the repository at this point in the history
feat: fix write concurrent
  • Loading branch information
hoslo authored Jun 27, 2024
1 parent 3baf71e commit 0ebb425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/types/operator/operator_futures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl<F: Future<Output = Result<()>>> FutureWrite<F> {

/// Set the maximum concurrent write task amount.
pub fn concurrent(self, v: usize) -> Self {
self.map(|(args, bs)| (args.with_chunk(v), bs))
self.map(|(args, bs)| (args.with_concurrent(v), bs))
}

/// Set the content type of option
Expand Down

0 comments on commit 0ebb425

Please sign in to comment.