mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
up block cache limit to 5gb as an experiment
This commit is contained in:
parent
b777a5c8d6
commit
3393ae8f5d
1 changed files with 2 additions and 2 deletions
|
|
@ -42,8 +42,8 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download
|
blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download
|
||||||
blockCacheMemory = 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching
|
blockCacheMemory = 5 * 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue