mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #15737] [CLOSED] Flip default ConfigureAwait value #14406
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/15737
Author: @MarkCiliaVincenti
Created: 12/6/2025
Status: ❌ Closed
Base:
master← Head:ConfigureAwait📝 Commits (1)
f7ef155Flip default ConfigureAwait value📊 Changes
285 files changed (+2010 additions, -1943 deletions)
View changed files
📝
.editorconfig(+3 -3)📝
Directory.Packages.props(+5 -3)📝
Emby.Naming/Emby.Naming.csproj(+12 -2)📝
Emby.Photos/Emby.Photos.csproj(+8 -1)📝
Emby.Server.Implementations/ApplicationHost.cs(+1 -1)📝
Emby.Server.Implementations/Chapters/ChapterManager.cs(+2 -2)📝
Emby.Server.Implementations/Collections/CollectionManager.cs(+5 -5)📝
Emby.Server.Implementations/Data/CleanDatabaseScheduledTask.cs(+7 -11)📝
Emby.Server.Implementations/Emby.Server.Implementations.csproj(+8 -1)📝
Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs(+2 -3)📝
Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs(+1 -1)📝
Emby.Server.Implementations/HttpServer/Security/AuthService.cs(+1 -1)📝
Emby.Server.Implementations/HttpServer/WebSocketConnection.cs(+12 -12)📝
Emby.Server.Implementations/HttpServer/WebSocketManager.cs(+6 -6)📝
Emby.Server.Implementations/IO/LibraryMonitor.cs(+1 -1)📝
Emby.Server.Implementations/Images/BaseDynamicImageProvider.cs(+3 -3)📝
Emby.Server.Implementations/Library/ExternalDataManager.cs(+4 -4)📝
Emby.Server.Implementations/Library/KeyframeManager.cs(+2 -2)📝
Emby.Server.Implementations/Library/LibraryManager.cs(+25 -25)📝
Emby.Server.Implementations/Library/LiveStreamHelper.cs(+7 -14)...and 80 more files
📄 Description
Massive PR, I know.
But reading all the .ConfigureAwait(false) is so annoying.
This PR sets ConfigureAwait as default through a source generator.
It will also show errors if someone sets .ConfigureAwait(false) but no errors on .ConfigureAwait(true) in case this needs to be set to true.
Fully expecting this to be rejected because, I understand, such a big change and so many merge conflicts will happen, but I took a chance. The code looks much cleaner now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.