mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #13605] [MERGED] Implement limiting caches #13643
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/13605
Author: @crobibero
Created: 2/22/2025
Status: ✅ Merged
Merged: 3/28/2025
Merged by: @crobibero
Base:
master← Head:cache📝 Commits (10+)
57be836Implement basic expiring cache for LibraryManager410de3aMerge branch 'master' into cache06e26b5Add expiring cache to more places52f0890Rider why1c95014Make DirectoryService caches staticc0f0f5aMerge branch 'refs/heads/master' into cache9bdfeaeUse FastConcurrentLru7859bf9Reduce default cache size925f8e6Simplify DirectoryService caches26d449dMake directory service cache size at least 128📊 Changes
8 files changed (+37 additions, -31 deletions)
View changed files
📝
Directory.Packages.props(+2 -1)📝
Emby.Server.Implementations/Emby.Server.Implementations.csproj(+1 -0)📝
Emby.Server.Implementations/Library/LibraryManager.cs(+10 -9)📝
Emby.Server.Implementations/Library/UserDataManager.cs(+6 -8)📝
MediaBrowser.Controller/MediaBrowser.Controller.csproj(+1 -0)📝
MediaBrowser.Controller/Providers/DirectoryService.cs(+8 -9)📝
MediaBrowser.Model/Configuration/ServerConfiguration.cs(+5 -0)📝
tests/Jellyfin.Controller.Tests/DirectoryServiceTests.cs(+4 -4)📄 Description
Simple POC to see what shakes out
I looked at FusionCache also but that library seems to be way more functionality then we can use at the moment.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.