forked from TrueCloudLab/frostfs-node
Revert "[#1367] writecache: Add background flushing objects limiter"
This reverts commit e39378b1c3
.
This commit is contained in:
parent
105278f1b3
commit
f44ba3b76b
12 changed files with 32 additions and 181 deletions
|
@ -45,8 +45,6 @@ type options struct {
|
|||
disableBackgroundFlush bool
|
||||
// pageSize is bbolt's page size config value
|
||||
pageSize int
|
||||
// flushSizeLimit is total size of flushing objects.
|
||||
flushSizeLimit uint64
|
||||
}
|
||||
|
||||
// WithLogger sets logger.
|
||||
|
@ -172,10 +170,3 @@ func WithPageSize(s int) Option {
|
|||
o.pageSize = s
|
||||
}
|
||||
}
|
||||
|
||||
// WithFlushSizeLimit sets flush size limit.
|
||||
func WithFlushSizeLimit(v uint64) Option {
|
||||
return func(o *options) {
|
||||
o.flushSizeLimit = v
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue