1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-16 21:12:13 +00:00

fixed buffer maxLenght exceded on aria2c daemon

This commit is contained in:
Luca Armaroli
2020-10-09 13:33:11 +02:00
parent b89e04156f
commit 2a3c3eb225

View File

@@ -160,7 +160,7 @@ async function downloadVideo(videoGUIDs: Array<string>,
let aria2cExec: ChildProcess | undefined;
let arai2cExited = false;
await portfinder.getPortPromise({ port: 6800 }).then(
async port => {
async (port: number) => {
logger.debug(`[DESTREAMER] Trying to use port ${port}`);
// Launch aria2c
aria2cExec = exec(