drop default CacheSize to 100

This commit is contained in:
perennial
2024-10-16 02:04:36 +11:00
parent acec3daaa3
commit 1e38499e40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ func (s *ServerConfig) LoadConfig() error {
s.APIBaseTimeout = 500 * time.Millisecond
s.APIMaxBackoffTime = 8000 * time.Millisecond
s.CacheSize = 1000
s.CacheSize = 100
s.CacheTTL = 5 * time.Minute
s.ResponseSaveLocation = "/tmp/pixivfe/responses"
+1 -1
View File
@@ -205,7 +205,7 @@ PixivFE caches responses from the Pixiv API to improve performance. The followin
**Required**: No
**Default:** `1000`
**Default:** `100`
Specifies the maximum number of items that can be stored in the cache. This limits the memory usage of the cache.