mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
Add API field and right for HeartbeatSeconds
This commit is contained in:
@@ -41,6 +41,12 @@ namespace Tgstation.Server.Api.Models.Internal
|
||||
[Required]
|
||||
public uint? StartupTimeout { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of seconds between each watchdog heartbeat. 0 disables.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public uint? HeartbeatSeconds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Check if we match a given set of <paramref name="otherParameters"/>
|
||||
/// </summary>
|
||||
|
||||
@@ -71,6 +71,11 @@ namespace Tgstation.Server.Api.Rights
|
||||
/// <summary>
|
||||
/// User can change <see cref="Models.Internal.DreamDaemonLaunchParameters.StartupTimeout"/>
|
||||
/// </summary>
|
||||
SetStartupTimeout = 2048
|
||||
SetStartupTimeout = 2048,
|
||||
|
||||
/// <summary>
|
||||
/// User can change <see cref="Models.Internal.DreamDaemonLaunchParameters.HeartbeatSeconds"/>
|
||||
/// </summary>
|
||||
SetHeartbeatInterval = 4096,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user