mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3171] [CLOSED] Restart Server In-Process #9363
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/3171
Author: @mark-monteiro
Created: 5/25/2020
Status: ❌ Closed
Base:
master← Head:support-server-restart📝 Commits (4)
0c46dbeDispose web host on app shutdown936a49aRestart server in the same process instead of spawning a new oneca4a286Remove CanSelfRestart since all platforms can now restart51fc424Add additional remarks to comments in PerformStaticInitialization📊 Changes
4 files changed (+31 additions, -76 deletions)
View changed files
📝
Emby.Server.Implementations/ApplicationHost.cs(+0 -11)📝
Jellyfin.Server/Program.cs(+31 -53)📝
MediaBrowser.Common/IApplicationHost.cs(+0 -6)📝
MediaBrowser.Model/System/SystemInfo.cs(+0 -6)📄 Description
Changes
Update the server restart process to restart the server without spawning a new process.
NOTE: This is a breaking change because the
CanSelfRestartproperty has been removed from theSystemInfoclass. Clients use this to conditionally display the server restart button.The breaking change for the web client is handled in https://github.com/jellyfin/jellyfin-web/pull/1293
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.