forked from TrueCloudLab/frostfs-api-go
[#38] 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
62edd68f47
commit
68021b910a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ package signature
|
||||||
|
|
||||||
import "sync"
|
import "sync"
|
||||||
|
|
||||||
const poolSliceMaxSize = 64 * 1024
|
const poolSliceMaxSize = 128 * 1024
|
||||||
|
|
||||||
type buffer struct {
|
type buffer struct {
|
||||||
data []byte
|
data []byte
|
||||||
|
|
Loading…
Reference in a new issue