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 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),
|
||||
|
|
Loading…
Reference in a new issue