mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 10:46:19 +01:00
api/tunnel: adjust estimate multiplier to 1.1
This commit is contained in:
parent
6e6a792984
commit
f5b47a2b7e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export function pipe(from, to, done) {
|
||||||
from.pipe(to);
|
from.pipe(to);
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function estimateTunnelLength(streamInfo, multiplier = 1) {
|
export async function estimateTunnelLength(streamInfo, multiplier = 1.1) {
|
||||||
let urls = streamInfo.urls;
|
let urls = streamInfo.urls;
|
||||||
if (!Array.isArray(urls)) {
|
if (!Array.isArray(urls)) {
|
||||||
urls = [ urls ];
|
urls = [ urls ];
|
||||||
|
|
Loading…
Reference in a new issue