mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #15718] [MERGED] Library: Async the SaveImages function #14398
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/15718
Author: @luigi311
Created: 12/5/2025
Status: ✅ Merged
Merged: 12/13/2025
Merged by: @crobibero
Base:
master← Head:async_saveimage📝 Commits (2)
5303c0bLibrary: Async the SaveImages function3ff37f5BaseItemRepository include context disposal📊 Changes
3 files changed (+24 additions, -12 deletions)
View changed files
📝
Emby.Server.Implementations/Library/LibraryManager.cs(+1 -1)📝
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs(+22 -10)📝
MediaBrowser.Controller/Persistence/IItemRepository.cs(+1 -1)📄 Description
Changes
Change the SameImages database function to be async. Added a cancellation token but it is unused. Gonna work through converting the other functions to be async aswell and if its called at a higher level see if that can be converted to async, if not create a wrapper that can exist until the top layers are converted to async calls.
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.