diff --git a/src/cdn/downloadWithCurl.ts b/src/cdn/downloadWithCurl.ts index 3caec12..8866ee5 100644 --- a/src/cdn/downloadWithCurl.ts +++ b/src/cdn/downloadWithCurl.ts @@ -12,7 +12,7 @@ export default function downloadWithCurl({ host, path, tempFileName }: {host: st //... '--silent', '--limit-rate', '30m', //maximum speed of 30 MB/s = 240 MBit/s - '--speed-limit', String(100 * 1024 * 1024), //abort if less than 100 MB in 15 seconds + '--speed-limit', String(100 * 1024 * 1024 / 15), //abort if less than 100 MB in 15 seconds '--speed-time', '15', '--output', tempFileName, url,