mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14382] [CLOSED] Make server side evaluation of DTO parallel #13964
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/14382
Author: @JPVenson
Created: 6/26/2025
Status: ❌ Closed
Base:
master← Head:feature/fasterCollectionGet📝 Commits (8)
a2154b9Make server side evaluation of DTO parallel472a6b5Use the Count instead of the full querye3267e8cleanup count queriesa1e9552Cleanup more queries8028ba7Revert user related query counting7a9d3cdFix program add operationsb1d9f4cFixed wrong user related queriesf41ed6bReadd missing parent📊 Changes
6 files changed (+90 additions, -90 deletions)
View changed files
📝
Emby.Server.Implementations/Dto/DtoService.cs(+9 -8)📝
Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs(+2 -1)📝
Jellyfin.Api/Controllers/LibraryController.cs(+18 -18)📝
MediaBrowser.Controller/Entities/Folder.cs(+14 -16)📝
MediaBrowser.Controller/Entities/InternalItemsQuery.cs(+34 -34)📝
MediaBrowser.Controller/Entities/TV/Series.cs(+13 -13)📄 Description
evaluates all properties added by the DTO creation in parallel to all requested items.
This is only a bandaid and will only help with performance on systems with adequate performance headroom but the alternative of rewriting all of the DTO creation so it can util all properties from the source query is a fundemental refactoring which cannot be done for 10.11.
Mitigates: #14336 , #14278 #14285 #14380
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.