Skip to content

Commit

Permalink
Use jmalloc, align kvdb crate version. (paritytech#883)
Browse files Browse the repository at this point in the history
Co-authored-by: cheme <emericchevalier.pro@gmail.com>
  • Loading branch information
gavofyork and cheme authored Mar 5, 2020
1 parent f5535fa commit 27fc65f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 61 deletions.
90 changes: 32 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ edition = "2018"
cli = { package = "polkadot-cli", path = "cli" }
futures = "0.3.4"
service = { package = "polkadot-service", path = "service" }
parity-util-mem = { version = "0.5.1", default-features = false, features = ["jemalloc-global"] }

[build-dependencies]
vergen = "3.0.4"
Expand Down
6 changes: 3 additions & 3 deletions availability-store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "pol
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
keystore = { package = "sc-keystore", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
kvdb = "0.3.1"
kvdb-memorydb = "0.3.1"
kvdb = "0.4.0"
kvdb-memorydb = "0.4.0"

[target.'cfg(not(target_os = "unknown"))'.dependencies]
kvdb-rocksdb = "0.4.1"
kvdb-rocksdb = "0.5.0"

0 comments on commit 27fc65f

Please sign in to comment.