diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-12 09:47:21 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-12 09:47:21 +0100 |
commit | 7f4e7c36373217b8e92cf227c71999a0ce9a15d9 (patch) | |
tree | 7c7f49d8066646a593c1d8a8551610dbed0f68aa /server/tests/real-world | |
parent | 63d00f5ded0aad25eeb50111da65b6daa46bcb24 (diff) | |
download | PeerTube-7f4e7c36373217b8e92cf227c71999a0ce9a15d9.tar.gz PeerTube-7f4e7c36373217b8e92cf227c71999a0ce9a15d9.tar.zst PeerTube-7f4e7c36373217b8e92cf227c71999a0ce9a15d9.zip |
Server: fix update remote video infohash
Diffstat (limited to 'server/tests/real-world')
-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 896ba6cce..941e43a2e 100644 --- a/server/tests/real-world/real-world.js +++ b/server/tests/real-world/real-world.js | |||
@@ -38,7 +38,7 @@ const numberOfPods = 6 | |||
38 | // Wait requests between pods | 38 | // Wait requests between pods |
39 | const baseRequestInterval = integrityInterval < constants.REQUESTS_INTERVAL ? integrityInterval : constants.REQUESTS_INTERVAL | 39 | const baseRequestInterval = integrityInterval < constants.REQUESTS_INTERVAL ? integrityInterval : constants.REQUESTS_INTERVAL |
40 | const requestsMaxPerInterval = baseRequestInterval / actionInterval | 40 | const requestsMaxPerInterval = baseRequestInterval / actionInterval |
41 | const intervalsToMakeAllRequests = Math.ceil(requestsMaxPerInterval / (constants.REQUESTS_LIMIT_PER_POD * numberOfPods)) | 41 | const intervalsToMakeAllRequests = Math.ceil(requestsMaxPerInterval / constants.REQUESTS_LIMIT_PER_POD) |
42 | const waitForBeforeIntegrityCheck = (intervalsToMakeAllRequests * constants.REQUESTS_INTERVAL) + 1000 | 42 | const waitForBeforeIntegrityCheck = (intervalsToMakeAllRequests * constants.REQUESTS_INTERVAL) + 1000 |
43 | 43 | ||
44 | console.log('Create weight: %d, update weight: %d, remove weight: %d.', createWeight, updateWeight, removeWeight) | 44 | console.log('Create weight: %d, update weight: %d, remove weight: %d.', createWeight, updateWeight, removeWeight) |