aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-21 19:11:36 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-21 19:11:36 +0800
commitbf7dcfce368692e1dc605c691504646eef14a645 (patch)
tree0a33c44b7bd589c278f9eda3dabd3e719ad43be2 /eth
parent9bde7fd72e738865e6ed3208495f966f4f21daac (diff)
parent907848997bbf79382a98b0c82e4aa61ca2eecd16 (diff)
downloadgo-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.tar
go-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.tar.gz
go-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.tar.bz2
go-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.tar.lz
go-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.tar.xz
go-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.tar.zst
go-tangerine-bf7dcfce368692e1dc605c691504646eef14a645.zip
Merge pull request #1059 from obscuren/cleanup
Cleanup
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go2
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 {