diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be07dda..327a9414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Changelog for FrostFS Node - Link object is broadcast throughout the whole container now (#57) - Pilorama now can merge multiple batches into one (#2231) - Storage engine now can start even when some shard components are unavailable (#2238) +- `neofs-cli` buffer for object put increased from 4 KiB to 3 MiB (#2243) ### Fixed - Increase payload size metric on shards' `put` operation (#1794) diff --git a/cmd/frostfs-cli/internal/client/client.go b/cmd/frostfs-cli/internal/client/client.go index fcfa2b46..71811032 100644 --- a/cmd/frostfs-cli/internal/client/client.go +++ b/cmd/frostfs-cli/internal/client/client.go @@ -404,8 +404,7 @@ func PutObject(prm PutObjectPrm) (*PutObjectRes, error) { } if prm.rdr != nil { - // TODO: (neofs-node#1198) explore better values or configure it - const defaultBufferSizePut = 4096 + const defaultBufferSizePut = 3 << 20 // Maximum chunk size is 3 MiB in the SDK. if sz == 0 || sz > defaultBufferSizePut { sz = defaultBufferSizePut