1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Adapt requests controller/front to new informations

This commit is contained in:
Chocobozzz 2017-01-19 22:38:34 +01:00
parent c625a9560b
commit 872a4c7cea
5 changed files with 49 additions and 25 deletions

View file

@ -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
})