api/tunnel: adjust estimate multiplier to 1.1

This commit is contained in:
jj 2024-12-16 17:42:39 +00:00
parent 6e6a792984
commit f5b47a2b7e
No known key found for this signature in database

View file

@ -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 ];