Use human-readable memory cache capacity in config

This commit is contained in:
Cohee
2025-03-05 00:45:34 +02:00
parent 13cfe1650f
commit 28bad6479c
4 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -138,8 +138,8 @@ performance:
# Enables lazy loading of character cards. Improves performances with large card libraries.
# May have compatibility issues with some extensions.
lazyLoadCharacters: false
# The maximum amount of memory that parsed character cards can use in MB
cardsCacheCapacity: 100
# The maximum amount of memory that parsed character cards can use. Set to 0 to disable memory caching.
memoryCacheCapacity: '100mb'
# Allow secret keys exposure via API
allowKeysExposure: false