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:
parent
c625a9560b
commit
872a4c7cea
5 changed files with 49 additions and 25 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue