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

@ -42,8 +42,8 @@ const (
)
var (
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
blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download
blockCacheMemory = 5 * 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching
)
var (