diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-07-22 18:46:20 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-07-22 19:00:52 +0800 |
commit | c7e7778f2a7d80fa12643db546db98fa70f2e384 (patch) | |
tree | ec31d9621aa5b265af6a4c9098c2ad913c1a325d /core | |
parent | f1daed65b1f89cae6327cd9f49668628c6980ade (diff) | |
download | dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.gz dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.tar.zst dexon-c7e7778f2a7d80fa12643db546db98fa70f2e384.zip |
cmd, core, eth, ethdb: cache flag to allocate memory for db internal use
Diffstat (limited to 'core')
-rw-r--r-- | core/bench_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bench_test.go b/core/bench_test.go index 018d27d8d..ec0474ad9 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -153,7 +153,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) { b.Fatalf("cannot create temporary directory: %v", err) } defer os.RemoveAll(dir) - db, err = ethdb.NewLDBDatabase(dir) + db, err = ethdb.NewLDBDatabase(dir, 0) if err != nil { b.Fatalf("cannot create temporary database: %v", err) } |