aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-23 17:09:38 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-23 17:09:38 +0200
commiteb4f957eca2a045ad0d5cf0c1e79b9c08494b088 (patch)
tree26b1cc77d20bf9e1ec76b2f2c9cfb8182ebbf064 /server/controllers
parentccc64aa6790961d2af3524a78ff8506cbdbefb13 (diff)
downloadPeerTube-eb4f957eca2a045ad0d5cf0c1e79b9c08494b088.tar.gz
PeerTube-eb4f957eca2a045ad0d5cf0c1e79b9c08494b088.tar.zst
PeerTube-eb4f957eca2a045ad0d5cf0c1e79b9c08494b088.zip
Client: add requests stats page
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/v1/requests.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/api/v1/requests.js b/server/controllers/api/v1/requests.js
index 6018bb40c..17aca8af0 100644
--- a/server/controllers/api/v1/requests.js
+++ b/server/controllers/api/v1/requests.js
@@ -32,7 +32,8 @@ function getStatsRequests (req, res, next) {
32 32
33 return res.json({ 33 return res.json({
34 requests: requests, 34 requests: requests,
35 remainingMilliSeconds: remainingMilliSeconds 35 remainingMilliSeconds: remainingMilliSeconds,
36 milliSecondsInterval: constants.REQUESTS_INTERVAL
36 }) 37 })
37 }) 38 })
38} 39}