aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-04-15 17:17:01 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-04-21 01:23:38 +0200
commita2e88e9141e5f9d5bda8b62414b816685e767227 (patch)
treeccda2ca97544a4d8833f33e6c83c702b428f9dc1 /sonar-ws
parentc2412a35e2fed2ffba40825d335d72b0c66ee818 (diff)
downloadsonarqube-a2e88e9141e5f9d5bda8b62414b816685e767227.tar.gz
sonarqube-a2e88e9141e5f9d5bda8b62414b816685e767227.zip
SONAR-7187 Remove paging from api/ce/activity
In order to have no more full scan on the ce_activity table, we had to remove paging as it was executing a select count(* from ce_activity)
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-ce.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-ce.proto b/sonar-ws/src/main/protobuf/ws-ce.proto
index 1db7111abcf..126122a0561 100644
--- a/sonar-ws/src/main/protobuf/ws-ce.proto
+++ b/sonar-ws/src/main/protobuf/ws-ce.proto
@@ -39,7 +39,8 @@ message TaskResponse {
// GET api/ce/activity
message ActivityResponse {
- optional sonarqube.ws.commons.Paging paging = 1;
+ // paging has been deprecated in 5.5
+ optional sonarqube.ws.commons.Paging unusedPaging = 1;
repeated Task tasks = 2;
}