[PR #13213] [MERGED] move to new System.Threading.Lock type for better performance #13505

Closed
opened 2026-02-07 07:14:05 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13213
Author: @Ich1goSan
Created: 12/12/2024
Status: Merged
Merged: 12/21/2024
Merged by: @Bond-009

Base: masterHead: master


📝 Commits (1)

  • 2614fec move to new System.Threading.Lock type for better performance

📊 Changes

20 files changed (+30 additions, -26 deletions)

View changed files

📝 Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs (+2 -1)
📝 Emby.Server.Implementations/Devices/DeviceId.cs (+2 -1)
📝 Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs (+1 -1)
📝 Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs (+1 -1)
📝 Emby.Server.Implementations/IO/FileRefresher.cs (+2 -2)
📝 Emby.Server.Implementations/Library/LibraryManager.cs (+2 -2)
📝 Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs (+1 -1)
📝 Emby.Server.Implementations/Session/SessionWebSocketListener.cs (+1 -1)
📝 Emby.Server.Implementations/SyncPlay/SyncPlayManager.cs (+1 -1)
📝 Emby.Server.Implementations/Updates/InstallationManager.cs (+1 -1)
📝 MediaBrowser.Common/Plugins/BasePluginOfT.cs (+3 -2)
📝 MediaBrowser.Controller/Entities/AggregateFolder.cs (+1 -1)
📝 MediaBrowser.Controller/Entities/UserRootFolder.cs (+1 -1)
📝 MediaBrowser.Controller/MediaEncoding/TranscodingJob.cs (+2 -2)
📝 MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs (+1 -1)
📝 MediaBrowser.Controller/Session/SessionInfo.cs (+1 -1)
📝 MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (+1 -1)
📝 MediaBrowser.Providers/Manager/ProviderManager.cs (+1 -1)
📝 src/Jellyfin.LiveTv/Timers/ItemDataProvider.cs (+2 -1)
📝 src/Jellyfin.Networking/Manager/NetworkManager.cs (+3 -3)

📄 Description

Changes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/13213 **Author:** [@Ich1goSan](https://github.com/Ich1goSan) **Created:** 12/12/2024 **Status:** ✅ Merged **Merged:** 12/21/2024 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2614fec`](https://github.com/jellyfin/jellyfin/commit/2614fecf8df6e04b0d0a2b33722923c239ed0f91) move to new System.Threading.Lock type for better performance ### 📊 Changes **20 files changed** (+30 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs` (+2 -1) 📝 `Emby.Server.Implementations/Devices/DeviceId.cs` (+2 -1) 📝 `Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs` (+1 -1) 📝 `Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs` (+1 -1) 📝 `Emby.Server.Implementations/IO/FileRefresher.cs` (+2 -2) 📝 `Emby.Server.Implementations/Library/LibraryManager.cs` (+2 -2) 📝 `Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs` (+1 -1) 📝 `Emby.Server.Implementations/Session/SessionWebSocketListener.cs` (+1 -1) 📝 `Emby.Server.Implementations/SyncPlay/SyncPlayManager.cs` (+1 -1) 📝 `Emby.Server.Implementations/Updates/InstallationManager.cs` (+1 -1) 📝 `MediaBrowser.Common/Plugins/BasePluginOfT.cs` (+3 -2) 📝 `MediaBrowser.Controller/Entities/AggregateFolder.cs` (+1 -1) 📝 `MediaBrowser.Controller/Entities/UserRootFolder.cs` (+1 -1) 📝 `MediaBrowser.Controller/MediaEncoding/TranscodingJob.cs` (+2 -2) 📝 `MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs` (+1 -1) 📝 `MediaBrowser.Controller/Session/SessionInfo.cs` (+1 -1) 📝 `MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs` (+1 -1) 📝 `MediaBrowser.Providers/Manager/ProviderManager.cs` (+1 -1) 📝 `src/Jellyfin.LiveTv/Timers/ItemDataProvider.cs` (+2 -1) 📝 `src/Jellyfin.Networking/Manager/NetworkManager.cs` (+3 -3) </details> ### 📄 Description **Changes**: - Moved to new [System.Threading.Lock](https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-9/#threading) type for better performance --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:14:05 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13505