summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/js/api/metrics.js2
-rw-r--r--server/sonar-web/src/main/js/components/source-viewer/main.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/metrics.js b/server/sonar-web/src/main/js/api/metrics.js
index 66bf7482c00..20af5bf0380 100644
--- a/server/sonar-web/src/main/js/api/metrics.js
+++ b/server/sonar-web/src/main/js/api/metrics.js
@@ -3,6 +3,6 @@ import { getJSON } from '../helpers/request.js';
export function getMetrics () {
let url = baseUrl + '/api/metrics/search';
- let data = { ps: 9999 };
+ let data = { ps: 500 };
return getJSON(url, data).then(r => r.metrics);
}
diff --git a/server/sonar-web/src/main/js/components/source-viewer/main.js b/server/sonar-web/src/main/js/components/source-viewer/main.js
index cf0ef14db0a..a7bb412c0c1 100644
--- a/server/sonar-web/src/main/js/components/source-viewer/main.js
+++ b/server/sonar-web/src/main/js/components/source-viewer/main.js
@@ -23,7 +23,7 @@ export default Marionette.LayoutView.extend({
template: Template,
issueLocationTemplate: IssueLocationTemplate,
- ISSUES_LIMIT: 3000,
+ ISSUES_LIMIT: 500,
LINES_LIMIT: 1000,
TOTAL_LINES_LIMIT: 3000,
LINES_AROUND: 500,