mirror of
https://github.com/mii443/ncb-tts-r2.git
synced 2025-12-03 03:08:20 +00:00
extend cache size
This commit is contained in:
@@ -27,7 +27,7 @@ impl TTS {
|
||||
Self {
|
||||
voicevox_client,
|
||||
gcp_tts_client,
|
||||
cache: RwLock::new(LruCache::new(NonZeroUsize::new(100).unwrap())),
|
||||
cache: RwLock::new(LruCache::new(NonZeroUsize::new(1000).unwrap())),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,4 +91,4 @@ impl TTS {
|
||||
|
||||
Ok(compressed)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user