mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Use human-readable memory cache capacity in config
This commit is contained in:
@@ -98,8 +98,8 @@ const keyMigrationMap = [
|
||||
},
|
||||
{
|
||||
oldKey: 'cardsCacheCapacity',
|
||||
newKey: 'performance.cardsCacheCapacity',
|
||||
migrate: (value) => value,
|
||||
newKey: 'performance.memoryCacheCapacity',
|
||||
migrate: (value) => `${value}mb`,
|
||||
},
|
||||
// uncomment one release after 1.12.13
|
||||
/*
|
||||
|
Reference in New Issue
Block a user