up block cache limit to 5gb as an experiment

This commit is contained in:
Jared Wasinger 2025-04-17 13:53:13 +08:00
parent b777a5c8d6
commit 3393ae8f5d

View file

@ -43,7 +43,7 @@ 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 (