mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12643] [MERGED] Tweak Trickplay migration for speed #13302
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/12643
Author: @crobibero
Created: 9/13/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @crobibero
Base:
master← Head:trickplay_migration_speed📝 Commits (2)
dc12c3cTweak Trickplay migration for speed0d33b62Check for Limit equality instead of 0📊 Changes
4 files changed (+82 additions, -38 deletions)
View changed files
📝
Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs(+5 -3)📝
Jellyfin.Server/Migrations/Routines/MoveTrickplayFiles.cs(+44 -13)📝
MediaBrowser.Controller/Trickplay/ITrickplayManager.cs(+3 -1)📝
MediaBrowser.Providers/Trickplay/TrickplayMoveImagesTask.cs(+30 -21)📄 Description
The
MoveTrickplayFilesmigration took 25 minutes on my server, and 35s on my development machine.This PR reduces the time on my development machine to 11s which should make a large difference on my server but I'm not able to easily deploy 1-off builds
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.