diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-16 16:36:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-17 09:22:56 +0200 |
commit | 49919ca16ba2c100cd444fa5e66442d1b13758c7 (patch) | |
tree | 084b39131b8ff89557f033b3cd5b9ad6cee54614 /shared/extra-utils/users/user-notifications.ts | |
parent | 8eb07b01306429abe5c538ff7aa0a16e44fff26f (diff) | |
download | PeerTube-49919ca16ba2c100cd444fa5e66442d1b13758c7.tar.gz PeerTube-49919ca16ba2c100cd444fa5e66442d1b13758c7.tar.zst PeerTube-49919ca16ba2c100cd444fa5e66442d1b13758c7.zip |
More robust max bitrate calculation
Diffstat (limited to 'shared/extra-utils/users/user-notifications.ts')
-rw-r--r-- | shared/extra-utils/users/user-notifications.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/extra-utils/users/user-notifications.ts b/shared/extra-utils/users/user-notifications.ts index 30c36a388..a17a39de9 100644 --- a/shared/extra-utils/users/user-notifications.ts +++ b/shared/extra-utils/users/user-notifications.ts | |||
@@ -546,7 +546,10 @@ async function prepareNotificationsTest (serversCount = 3) { | |||
546 | const servers = await flushAndRunMultipleServers(serversCount, overrideConfig) | 546 | const servers = await flushAndRunMultipleServers(serversCount, overrideConfig) |
547 | 547 | ||
548 | await setAccessTokensToServers(servers) | 548 | await setAccessTokensToServers(servers) |
549 | await doubleFollow(servers[0], servers[1]) | 549 | |
550 | if (serversCount > 1) { | ||
551 | await doubleFollow(servers[0], servers[1]) | ||
552 | } | ||
550 | 553 | ||
551 | const user = { | 554 | const user = { |
552 | username: 'user_1', | 555 | username: 'user_1', |