forked from TrueCloudLab/frostfs-api-go
[#37] signature: Increase pool max object size
According to the results of profiling, objects with a size of 72KB are mainly allocated. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
c3f61e7c85
commit
4cb0068dde
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ package signature
|
|||
|
||||
import "sync"
|
||||
|
||||
const poolSliceMaxSize = 64 * 1024
|
||||
const poolSliceMaxSize = 128 * 1024
|
||||
|
||||
var buffersPool = sync.Pool{
|
||||
New: func() any {
|
||||
|
|
Loading…
Reference in a new issue