Files
jellyfin-ha-src/Emby.Server.Implementations/PortChangeOutcome.cs
unkin-agent 483c739fb1
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
report a peer's port change locally without rewriting it
Keep IConfigurationManager source-compatible for plugin implementers.
2026-09-21 00:46:16 +10:00

15 lines
648 B
C#

namespace Emby.Server.Implementations
{
/// <summary>
/// What a configuration update carrying different ports requires of the instance reading it.
/// </summary>
/// <param name="RequiresRestart">
/// Whether this process is still bound to a port the shared configuration no longer names, and so has
/// to report a pending restart.
/// </param>
/// <param name="ClearsPortAuthorization">
/// Whether this instance is the one that has to clear the port authorization flag and save it.
/// </param>
internal readonly record struct PortChangeOutcome(bool RequiresRestart, bool ClearsPortAuthorization);
}