diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-11 18:06:51 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-11 18:06:51 +0100 |
commit | d8cc063e9775688a1631eda9203411a2dba0333c (patch) | |
tree | 056b6e3ccf0cb5d97b2d300f0ed2776f24631d7a /server/tests | |
parent | dea32aacde362a5fbd62a88cd32487768b788468 (diff) | |
download | PeerTube-d8cc063e9775688a1631eda9203411a2dba0333c.tar.gz PeerTube-d8cc063e9775688a1631eda9203411a2dba0333c.tar.zst PeerTube-d8cc063e9775688a1631eda9203411a2dba0333c.zip |
Server: do not break remote videos processing on error
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/real-world/real-world.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/real-world/real-world.js b/server/tests/real-world/real-world.js index 751d3923f..9a63860ad 100644 --- a/server/tests/real-world/real-world.js +++ b/server/tests/real-world/real-world.js | |||
@@ -36,7 +36,7 @@ const numberOfPods = 6 | |||
36 | // Wait requests between pods | 36 | // Wait requests between pods |
37 | const baseRequestInterval = integrityInterval < constants.REQUESTS_INTERVAL ? integrityInterval : constants.REQUESTS_INTERVAL | 37 | const baseRequestInterval = integrityInterval < constants.REQUESTS_INTERVAL ? integrityInterval : constants.REQUESTS_INTERVAL |
38 | const requestsMaxPerInterval = baseRequestInterval / actionInterval | 38 | const requestsMaxPerInterval = baseRequestInterval / actionInterval |
39 | const intervalsToMakeAllRequests = Math.ceil(requestsMaxPerInterval / constants.REQUESTS_LIMIT) | 39 | const intervalsToMakeAllRequests = Math.ceil(requestsMaxPerInterval / (constants.REQUESTS_LIMIT_PER_POD * numberOfPods)) |
40 | const waitForBeforeIntegrityCheck = (intervalsToMakeAllRequests * constants.REQUESTS_INTERVAL) + 1000 | 40 | const waitForBeforeIntegrityCheck = (intervalsToMakeAllRequests * constants.REQUESTS_INTERVAL) + 1000 |
41 | 41 | ||
42 | console.log('Create weight: %d, remove weight: %d.', createWeight, removeWeight) | 42 | console.log('Create weight: %d, remove weight: %d.', createWeight, removeWeight) |