Skip to content

Commit

Permalink
reduce wr buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
wlqm committed Feb 26, 2024
1 parent b80a37e commit 86630d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vsdb_core"
version = "0.62.0"
version = "0.62.1"
authors = ["[email protected]"]
edition = "2021"
description = "A stuctured DB with some 'Git-like' features, mainly used in blockchain projects."
Expand Down
2 changes: 1 addition & 1 deletion core/src/common/engines/rocks_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ fn rocksdb_open() -> Result<(DB, Vec<String>)> {
.parse::<usize>()
.c(d!())?
* 1024;
alt!((32 * G) < memsiz, 16 * G, G) / DATA_SET_NUM
alt!((32 * G) < memsiz, 8 * G, G) / DATA_SET_NUM
} else {
G / DATA_SET_NUM
};
Expand Down

0 comments on commit 86630d7

Please sign in to comment.