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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user