mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
1) Set the default value of the long-running threshold to 2 minutes for warning and 5 minutes for the alert.
2) Use $color-danger for the alert threshold.
This commit is contained in:
parent
39a845ad31
commit
a0b2a28ee2
@ -154,7 +154,7 @@ class DashboardModule(PgAdminModule):
|
|||||||
self.long_running_query_threshold = self.dashboard_preference.register(
|
self.long_running_query_threshold = self.dashboard_preference.register(
|
||||||
'display', 'long_running_query_threshold',
|
'display', 'long_running_query_threshold',
|
||||||
gettext('Long running query thresholds'), 'threshold',
|
gettext('Long running query thresholds'), 'threshold',
|
||||||
None, category_label=PREF_LABEL_DISPLAY,
|
'2|5', category_label=PREF_LABEL_DISPLAY,
|
||||||
help_str=gettext('Set the warning and alert threshold value to '
|
help_str=gettext('Set the warning and alert threshold value to '
|
||||||
'highlight the long-running queries on the '
|
'highlight the long-running queries on the '
|
||||||
'dashboard.')
|
'dashboard.')
|
||||||
|
@ -345,7 +345,7 @@ table.backgrid {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tr.alert {
|
tr.alert {
|
||||||
background-color: $color-danger-light !important;
|
background-color: $color-danger !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user