adjust max block cache mem from 256mb -> 512 mb. choose 32 blocks as the initial fetch size

This commit is contained in:
Jared Wasinger 2025-03-31 18:18:54 +02:00
parent 3793060bee
commit d045214778

View file

@ -43,8 +43,8 @@ const (
var (
blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download
blockCacheInitialItems = 16 // Initial number of blocks to start fetching, before we know the sizes of the blocks
blockCacheMemory = 256 * 1024 * 1024 // Maximum amount of memory to use for block caching
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
)
var (