mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #990] [MERGED] Fix slow local image validation #8600
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/990
Author: @cvium
Created: 2/24/2019
Status: ✅ Merged
Merged: 2/24/2019
Merged by: @Bond-009
Base:
release-10.2.z← Head:fix_local_image_validation📝 Commits (2)
6378641Check for local image directory existence to avoid tons of exceptions5d56038Re-add a linebreak that went missing📊 Changes
2 files changed (+8 additions, -4 deletions)
View changed files
📝
MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs(+7 -0)📝
MediaBrowser.Providers/Manager/MetadataService.cs(+1 -4)📄 Description
Changes
Added a check for directory existence. Refreshing 240 people just went from ~30 seconds to 0.
Also removed a weird check that swallows exceptions. Let's avoid them instead of handling them silently, eh?
Issues
Related to #951 (but doesn't help the issue that scheduled tasks lock up the server)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.