aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-09 10:09:05 +0800
committerGitHub <noreply@github.com>2016-11-09 10:09:05 +0800
commit355f4b0c15fadec683877b5de1361bd678fee28e (patch)
treeef1c3a915af7f07c049c08318fe450b2ecf46654 /ethdb
parent8b1df1a259fe6dc4c15e391e9c0762c9621d9d72 (diff)
parentbbb5e5d56a51d9430aec934c76a0bd02f1f2427d (diff)
downloaddexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.gz
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.bz2
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.lz
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.xz
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.zst
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.zip
Merge pull request #3232 from zsfelfoldi/light-topic3
Diffstat (limited to 'ethdb')
-rw-r--r--ethdb/database.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/ethdb/database.go b/ethdb/database.go
index 479c54b60..96d9a5982 100644
--- a/ethdb/database.go
+++ b/ethdb/database.go
@@ -40,13 +40,15 @@ var OpenFileLimit = 64
// cacheRatio specifies how the total allotted cache is distributed between the
// various system databases.
var cacheRatio = map[string]float64{
- "chaindata": 1.0,
+ "chaindata": 1.0,
+ "lightchaindata": 1.0,
}
// handleRatio specifies how the total allotted file descriptors is distributed
// between the various system databases.
var handleRatio = map[string]float64{
- "chaindata": 1.0,
+ "chaindata": 1.0,
+ "lightchaindata": 1.0,
}
type LDBDatabase struct {