forked from TrueCloudLab/frostfs-node
[#1367] writecache: Move DB related code to upgrade.go
This is done to drop this file in the future. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
3b236160a6
commit
f345fe9a58
5 changed files with 111 additions and 112 deletions
|
@ -45,10 +45,7 @@ const (
|
|||
defaultMaxCacheSize = 1 << 30 // 1 GiB
|
||||
)
|
||||
|
||||
var (
|
||||
defaultBucket = []byte{0}
|
||||
dummyCanceler context.CancelFunc = func() {}
|
||||
)
|
||||
var dummyCanceler context.CancelFunc = func() {}
|
||||
|
||||
// New creates new writecache instance.
|
||||
func New(opts ...Option) Cache {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue