mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
chg : trieTimeout from 60 to 10 mins (#692)
* chg : trieTimeout from 60 to 10 mins * chg : cache.timout to 10m from 1h in configs
This commit is contained in:
parent
e4dd2ee1ac
commit
241843c7e7
11 changed files with 11 additions and 11 deletions
|
|
@ -129,7 +129,7 @@ syncmode = "full"
|
|||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# triesinmemory = 128
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
[accounts]
|
||||
# allow-insecure-unlock = true
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ ethstats = "" # Reporting URL of a ethstats service (nodename:sec
|
|||
preimages = false # Enable recording the SHA3/keccak preimages of trie keys
|
||||
txlookuplimit = 2350000 # Number of recent blocks to maintain transactions index for (default = about 56 days, 0 = entire chain)
|
||||
triesinmemory = 128 # Number of block states (tries) to keep in memory
|
||||
timeout = "1h0m0s" # Time after which the Merkle Patricia Trie is stored to disc from memory
|
||||
timeout = "10m0s" # Time after which the Merkle Patricia Trie is stored to disc from memory
|
||||
|
||||
[accounts]
|
||||
unlock = [] # Comma separated list of accounts to unlock
|
||||
|
|
|
|||
|
|
@ -565,7 +565,7 @@ func DefaultConfig() *Config {
|
|||
Preimages: false,
|
||||
TxLookupLimit: 2350000,
|
||||
TriesInMemory: 128,
|
||||
TrieTimeout: 60 * time.Minute,
|
||||
TrieTimeout: 10 * time.Minute,
|
||||
},
|
||||
Accounts: &AccountsConfig{
|
||||
Unlock: []string{},
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ gcmode = "archive"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
# [accounts]
|
||||
# unlock = []
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ syncmode = "full"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
# [accounts]
|
||||
# unlock = []
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ syncmode = "full"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
[accounts]
|
||||
allow-insecure-unlock = true
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ syncmode = "full"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
[accounts]
|
||||
allow-insecure-unlock = true
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ gcmode = "archive"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
# [accounts]
|
||||
# unlock = []
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ syncmode = "full"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
# [accounts]
|
||||
# unlock = []
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ syncmode = "full"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
[accounts]
|
||||
allow-insecure-unlock = true
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ syncmode = "full"
|
|||
# noprefetch = false
|
||||
# preimages = false
|
||||
# txlookuplimit = 2350000
|
||||
# timeout = "1h0m0s"
|
||||
# timeout = "10m0s"
|
||||
|
||||
[accounts]
|
||||
allow-insecure-unlock = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue