1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

More robust max bitrate calculation

This commit is contained in:
Chocobozzz 2020-06-16 16:36:02 +02:00
parent 8eb07b0130
commit 49919ca16b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 43 additions and 37 deletions

View file

@ -546,7 +546,10 @@ async function prepareNotificationsTest (serversCount = 3) {
const servers = await flushAndRunMultipleServers(serversCount, overrideConfig)
await setAccessTokensToServers(servers)
await doubleFollow(servers[0], servers[1])
if (serversCount > 1) {
await doubleFollow(servers[0], servers[1])
}
const user = {
username: 'user_1',