From 872a4c7cea861246cf84fa3686bd9d40c684535f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Jan 2017 22:38:34 +0100 Subject: Adapt requests controller/front to new informations --- server/controllers/api/requests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/controllers/api') diff --git a/server/controllers/api/requests.js b/server/controllers/api/requests.js index 1f9193fc8..3e0d246d1 100644 --- a/server/controllers/api/requests.js +++ b/server/controllers/api/requests.js @@ -28,7 +28,8 @@ function getStatsRequests (req, res, next) { return res.json({ totalRequests: totalRequests, - maxRequestsInParallel: constants.REQUESTS_IN_PARALLEL, + requestsLimitPods: constants.REQUESTS_LIMIT_PODS, + requestsLimitPerPod: constants.REQUESTS_LIMIT_PER_POD, remainingMilliSeconds: db.Request.remainingMilliSeconds(), milliSecondsInterval: constants.REQUESTS_INTERVAL }) -- cgit v1.2.3