diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 15:43:42 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 15:45:15 +0200 |
commit | 32e574750a7b06699073ac8e98aeebaf2fa8a82d (patch) | |
tree | 513080abb940eff3b71cde956a4e8a79d9d6f423 /server | |
parent | 5abeec313f897bbb1f1f39c3849675ec9a77d506 (diff) | |
download | PeerTube-32e574750a7b06699073ac8e98aeebaf2fa8a82d.tar.gz PeerTube-32e574750a7b06699073ac8e98aeebaf2fa8a82d.tar.zst PeerTube-32e574750a7b06699073ac8e98aeebaf2fa8a82d.zip |
Add "max requests number" information for requests iterations
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/api/v1/requests.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/v1/requests.js b/server/controllers/api/v1/requests.js index 9610e5cd6..97616424d 100644 --- a/server/controllers/api/v1/requests.js +++ b/server/controllers/api/v1/requests.js | |||
@@ -30,6 +30,7 @@ function getStatsRequests (req, res, next) { | |||
30 | 30 | ||
31 | return res.json({ | 31 | return res.json({ |
32 | requests: requests, | 32 | requests: requests, |
33 | maxRequestsInParallel: constants.REQUESTS_IN_PARALLEL, | ||
33 | remainingMilliSeconds: Request.remainingMilliSeconds(), | 34 | remainingMilliSeconds: Request.remainingMilliSeconds(), |
34 | milliSecondsInterval: constants.REQUESTS_INTERVAL | 35 | milliSecondsInterval: constants.REQUESTS_INTERVAL |
35 | }) | 36 | }) |