Change some alerts to be intrusive

This commit is contained in:
zontreck 2024-06-15 22:48:48 -07:00
parent e446487b02
commit cbf0279c42

View file

@ -25,8 +25,7 @@ enum States {
enum WarnType { Intrusive, NonIntrusive }
enum WarnIntervals {
FIVE_SECONDS(
seconds: 5, type: WarnType.NonIntrusive, warning: "Tiiiiiimber!"),
FIVE_SECONDS(seconds: 5, type: WarnType.Intrusive, warning: "Tiiiiiimber!"),
TEN_SECONDS(
seconds: 10,
type: WarnType.Intrusive,
@ -49,11 +48,11 @@ enum WarnIntervals {
warning: "The server will restart in 5 minutes"),
TEN_MIN(
seconds: (10 * 60),
type: WarnType.NonIntrusive,
type: WarnType.Intrusive,
warning: "The server will restart in 10 minutes"),
ONE_HOUR(
seconds: (1 * 60 * 60),
type: WarnType.NonIntrusive,
type: WarnType.Intrusive,
warning: "The server will restart in 1 hour"),
TWO_HOURS(
seconds: (2 * 60 * 60),