mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Raise default AssetManager file cache cap to 32GB
This commit is contained in:
parent
78856f3771
commit
3eda342b87
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ bool AssetManager::initialize(const std::string& dataPath_) {
|
|||
const size_t envMaxMB = parseEnvSizeMB("WOWEE_FILE_CACHE_MAX_MB");
|
||||
|
||||
const size_t minBudgetBytes = 256ull * 1024ull * 1024ull; // 256 MB
|
||||
const size_t defaultMaxBudgetBytes = 2048ull * 1024ull * 1024ull; // 2 GB
|
||||
const size_t defaultMaxBudgetBytes = 32768ull * 1024ull * 1024ull; // 32 GB
|
||||
const size_t maxBudgetBytes = (envMaxMB > 0)
|
||||
? (envMaxMB * 1024ull * 1024ull)
|
||||
: defaultMaxBudgetBytes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue