Stability (I hope) (#2688)
This commit is contained in:
parent
92ad7db918
commit
7e61cca92d
30 changed files with 3336 additions and 177 deletions
|
@ -86,12 +86,11 @@ public static class ApplicationServiceExtensions
|
|||
|
||||
// KavitaPlus stuff
|
||||
options.UseInMemory(EasyCacheProfiles.KavitaPlusExternalSeries);
|
||||
options.UseInMemory(EasyCacheProfiles.KavitaPlusSeriesDetail);
|
||||
});
|
||||
|
||||
services.AddMemoryCache(options =>
|
||||
{
|
||||
options.SizeLimit = Configuration.CacheSize * 1024 * 1024; // 50 MB
|
||||
options.SizeLimit = Configuration.CacheSize * 1024 * 1024; // 75 MB
|
||||
options.CompactionPercentage = 0.1; // LRU compaction (10%)
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue