only show latest warning, rather than combining warning alerts
In the case of the inotify limit warning, particularly, if it happens once it will be happening repeatedly, and so combining alerts resulted in a much too large alert message that took up a lot of memory and was too large for the webapp to display.
This commit is contained in:
parent
9f305483b0
commit
e72f0b2898
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ warningAlert name msg = Alert
|
|||
, alertClosable = True
|
||||
, alertPriority = High
|
||||
, alertIcon = Just ErrorIcon
|
||||
, alertCombiner = Just $ dataCombiner (++)
|
||||
, alertCombiner = Just $ dataCombiner $ \_old new -> new
|
||||
, alertName = Just $ WarningAlert name
|
||||
, alertButton = Nothing
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue