diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 17:19:46 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 17:19:46 +0200 |
commit | e636eb88101a51399057c86477af6677f5614d48 (patch) | |
tree | ba56f0da932613c8013a2c52905ded1987cd6d6d /server/tests/real-world | |
parent | 4f133041819409a72cf70fa2fa6c4df14c6de4fd (diff) | |
download | PeerTube-e636eb88101a51399057c86477af6677f5614d48.tar.gz PeerTube-e636eb88101a51399057c86477af6677f5614d48.tar.zst PeerTube-e636eb88101a51399057c86477af6677f5614d48.zip |
Requests -> RequestSchedulers
Diffstat (limited to 'server/tests/real-world')
-rw-r--r-- | server/tests/real-world/real-world.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/real-world/real-world.js b/server/tests/real-world/real-world.js index 3ac13f053..ea189c5f2 100644 --- a/server/tests/real-world/real-world.js +++ b/server/tests/real-world/real-world.js | |||
@@ -13,7 +13,7 @@ const loginUtils = require('../utils/login') | |||
13 | const podsUtils = require('../utils/pods') | 13 | const podsUtils = require('../utils/pods') |
14 | const serversUtils = require('../utils/servers') | 14 | const serversUtils = require('../utils/servers') |
15 | const videosUtils = require('../utils/videos') | 15 | const videosUtils = require('../utils/videos') |
16 | const requestStatsUtils = require('../utils/requests-stats') | 16 | const requestSchedulersUtils = require('../utils/request-schedulers') |
17 | 17 | ||
18 | program | 18 | program |
19 | .option('-c, --create [weight]', 'Weight for creating videos') | 19 | .option('-c, --create [weight]', 'Weight for creating videos') |
@@ -344,7 +344,7 @@ function isThereAwaitingRequests (servers, callback) { | |||
344 | 344 | ||
345 | // Check is each server has awaiting requestq | 345 | // Check is each server has awaiting requestq |
346 | each(servers, function (server, callbackEach) { | 346 | each(servers, function (server, callbackEach) { |
347 | requestStatsUtils.getRequestsStats(server, server.accessToken, function (err, res) { | 347 | requestSchedulersUtils.getRequestsStats(server, server.accessToken, function (err, res) { |
348 | if (err) throw err | 348 | if (err) throw err |
349 | 349 | ||
350 | const stats = res.body | 350 | const stats = res.body |