mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
push block cache memory from 512mb -> 1gb
This commit is contained in:
parent
d045214778
commit
ed3ef9ee64
1 changed files with 3 additions and 3 deletions
|
|
@ -42,9 +42,9 @@ const (
|
|||
)
|
||||
|
||||
var (
|
||||
blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download
|
||||
blockCacheInitialItems = 32 // Initial number of blocks to start fetching, before we know the sizes of the blocks
|
||||
blockCacheMemory = 512 * 1024 * 1024 // Maximum amount of memory to use for block caching
|
||||
blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download
|
||||
blockCacheInitialItems = 32 // Initial number of blocks to start fetching, before we know the sizes of the blocks
|
||||
blockCacheMemory = 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Reference in a new issue