diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-21 17:45:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-21 17:45:35 +0800 |
commit | 207bd5575161fa2bc61a7ccf659c11878575dd32 (patch) | |
tree | dd7ebcf31a61c4d282d3798a7f5b099de18a2d1a /eth/backend.go | |
parent | 84cd618585ce21c7a1907798ddc69601402e9de5 (diff) | |
download | go-tangerine-207bd5575161fa2bc61a7ccf659c11878575dd32.tar.gz go-tangerine-207bd5575161fa2bc61a7ccf659c11878575dd32.tar.zst go-tangerine-207bd5575161fa2bc61a7ccf659c11878575dd32.zip |
eth: reduced max open files for LevelDB
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index 44ceb89e8..69504fd94 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -213,7 +213,7 @@ func New(config *Config) (*Ethereum, error) { // Let the database take 3/4 of the max open files (TODO figure out a way to get the actual limit of the open files) const dbCount = 3 - ethdb.OpenFileLimit = 256 / (dbCount + 1) + ethdb.OpenFileLimit = 128 / (dbCount + 1) newdb := config.NewDB if newdb == nil { |