Add cli param to limit database cache size (#1261)

* Add cli param to limit datbase cache size

* fixing tests
This commit is contained in:
Benjamin Kampmann
2018-12-13 12:32:41 +01:00
committed by GitHub
parent 8606595a6d
commit bd2a206e40
5 changed files with 13 additions and 2 deletions
+1
View File
@@ -123,6 +123,7 @@ fn node_config<F: ServiceFactory> (
network: network_config,
keystore_path: root.join("key").to_str().unwrap().into(),
database_path: root.join("db").to_str().unwrap().into(),
database_cache_size: None,
pruning: Default::default(),
keys: keys,
chain_spec: (*spec).clone(),