aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-19 22:38:34 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-19 22:38:34 +0100
commit872a4c7cea861246cf84fa3686bd9d40c684535f (patch)
treec4323e825a086cde30089e2118bf1fe59ff40dd8 /server/controllers
parentc625a9560b0f98907c678015b673b6f82efd0c36 (diff)
downloadPeerTube-872a4c7cea861246cf84fa3686bd9d40c684535f.tar.gz
PeerTube-872a4c7cea861246cf84fa3686bd9d40c684535f.tar.zst
PeerTube-872a4c7cea861246cf84fa3686bd9d40c684535f.zip
Adapt requests controller/front to new informations
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/requests.js3
1 files changed, 2 insertions, 1 deletions
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) {
28 28
29 return res.json({ 29 return res.json({
30 totalRequests: totalRequests, 30 totalRequests: totalRequests,
31 maxRequestsInParallel: constants.REQUESTS_IN_PARALLEL, 31 requestsLimitPods: constants.REQUESTS_LIMIT_PODS,
32 requestsLimitPerPod: constants.REQUESTS_LIMIT_PER_POD,
32 remainingMilliSeconds: db.Request.remainingMilliSeconds(), 33 remainingMilliSeconds: db.Request.remainingMilliSeconds(),
33 milliSecondsInterval: constants.REQUESTS_INTERVAL 34 milliSecondsInterval: constants.REQUESTS_INTERVAL
34 }) 35 })