Skip to content

Commit

Permalink
feat: rename bucket -> kv and disable cache
Browse files Browse the repository at this point in the history
  • Loading branch information
yudhasubki committed Dec 16, 2023
1 parent 404d7d7 commit 421220e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions pkg/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func New(dbName string, opts ...opt) (*Etcd, error) {
nutsdb.WithDir(dbName),
nutsdb.WithEntryIdxMode(nutsdb.HintKeyAndRAMIdxMode),
nutsdb.WithSyncEnable(opt.sync),
nutsdb.WithHintKeyAndRAMIdxCacheSize(0),
)
if err != nil {
return &Etcd{}, err
Expand Down

0 comments on commit 421220e

Please sign in to comment.