forked from TrueCloudLab/frostfs-node
[#773] writecache: Delete unused dbSize
param
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
9b32b5523d
commit
c54f524df9
7 changed files with 0 additions and 27 deletions
|
@ -20,9 +20,6 @@ type options struct {
|
|||
// maxMemSize is the maximum total size of all objects cached in memory.
|
||||
// 1 GiB by default.
|
||||
maxMemSize uint64
|
||||
// maxDBSize is the maximum size of database in bytes.
|
||||
// Unrestricted by default.
|
||||
maxDBSize uint64
|
||||
// maxObjectSize is the maximum size of the object stored in the write-cache.
|
||||
maxObjectSize uint64
|
||||
// smallObjectSize is the maximum size of the object stored in the database.
|
||||
|
@ -66,13 +63,6 @@ func WithMaxMemSize(sz uint64) Option {
|
|||
}
|
||||
}
|
||||
|
||||
// WithMaxDBSize sets maximum size for on-disk DB.
|
||||
func WithMaxDBSize(sz uint64) Option {
|
||||
return func(o *options) {
|
||||
o.maxDBSize = sz
|
||||
}
|
||||
}
|
||||
|
||||
// WithMaxObjectSize sets maximum object size to be stored in write-cache.
|
||||
func WithMaxObjectSize(sz uint64) Option {
|
||||
return func(o *options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue