Change some alerts to be intrusive
This commit is contained in:
parent
e446487b02
commit
cbf0279c42
1 changed files with 3 additions and 4 deletions
|
@ -25,8 +25,7 @@ enum States {
|
||||||
enum WarnType { Intrusive, NonIntrusive }
|
enum WarnType { Intrusive, NonIntrusive }
|
||||||
|
|
||||||
enum WarnIntervals {
|
enum WarnIntervals {
|
||||||
FIVE_SECONDS(
|
FIVE_SECONDS(seconds: 5, type: WarnType.Intrusive, warning: "Tiiiiiimber!"),
|
||||||
seconds: 5, type: WarnType.NonIntrusive, warning: "Tiiiiiimber!"),
|
|
||||||
TEN_SECONDS(
|
TEN_SECONDS(
|
||||||
seconds: 10,
|
seconds: 10,
|
||||||
type: WarnType.Intrusive,
|
type: WarnType.Intrusive,
|
||||||
|
@ -49,11 +48,11 @@ enum WarnIntervals {
|
||||||
warning: "The server will restart in 5 minutes"),
|
warning: "The server will restart in 5 minutes"),
|
||||||
TEN_MIN(
|
TEN_MIN(
|
||||||
seconds: (10 * 60),
|
seconds: (10 * 60),
|
||||||
type: WarnType.NonIntrusive,
|
type: WarnType.Intrusive,
|
||||||
warning: "The server will restart in 10 minutes"),
|
warning: "The server will restart in 10 minutes"),
|
||||||
ONE_HOUR(
|
ONE_HOUR(
|
||||||
seconds: (1 * 60 * 60),
|
seconds: (1 * 60 * 60),
|
||||||
type: WarnType.NonIntrusive,
|
type: WarnType.Intrusive,
|
||||||
warning: "The server will restart in 1 hour"),
|
warning: "The server will restart in 1 hour"),
|
||||||
TWO_HOURS(
|
TWO_HOURS(
|
||||||
seconds: (2 * 60 * 60),
|
seconds: (2 * 60 * 60),
|
||||||
|
|
Loading…
Reference in a new issue