forked from TrueCloudLab/frostfs-node
[#1745] neofs-node: Remove memcache_capacity
from the configuration
It is unused since ddaed283e9
.
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
bda084f331
commit
177e8e01b1
11 changed files with 5 additions and 45 deletions
|
@ -66,10 +66,9 @@ type objectInfo struct {
|
|||
}
|
||||
|
||||
const (
|
||||
maxInMemorySizeBytes = 1024 * 1024 * 1024 // 1 GiB
|
||||
maxObjectSize = 64 * 1024 * 1024 // 64 MiB
|
||||
smallObjectSize = 32 * 1024 // 32 KiB
|
||||
maxCacheSizeBytes = 1 << 30 // 1 GiB
|
||||
maxObjectSize = 64 * 1024 * 1024 // 64 MiB
|
||||
smallObjectSize = 32 * 1024 // 32 KiB
|
||||
maxCacheSizeBytes = 1 << 30 // 1 GiB
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -85,7 +84,6 @@ func New(opts ...Option) Cache {
|
|||
compressFlags: make(map[string]struct{}),
|
||||
options: options{
|
||||
log: zap.NewNop(),
|
||||
maxMemSize: maxInMemorySizeBytes,
|
||||
maxObjectSize: maxObjectSize,
|
||||
smallObjectSize: smallObjectSize,
|
||||
workersCount: defaultFlushWorkersCount,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue