Highlighted long running queries on the dashboards. Fixes #1975

This commit is contained in:
Akshay Joshi
2021-07-01 18:10:45 +05:30
parent d90472014d
commit ef67409d61
12 changed files with 147 additions and 6 deletions

View File

@@ -309,6 +309,11 @@ define('pgadmin.preferences', [
return 'radioModern';
case 'selectFile':
return 'binary-paths-grid';
case 'threshold':
p.warning_label = gettext('Warning');
p.alert_label = gettext('Alert');
p.unit = gettext('(in minutes)');
return 'threshold';
default:
if (console && console.warn) {
// Warning for developer only.