mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +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 aria2cExec: ChildProcess | undefined;
|
||||||
let arai2cExited = false;
|
let arai2cExited = false;
|
||||||
await portfinder.getPortPromise({ port: 6800 }).then(
|
await portfinder.getPortPromise({ port: 6800 }).then(
|
||||||
async port => {
|
async (port: number) => {
|
||||||
logger.debug(`[DESTREAMER] Trying to use port ${port}`);
|
logger.debug(`[DESTREAMER] Trying to use port ${port}`);
|
||||||
// Launch aria2c
|
// Launch aria2c
|
||||||
aria2cExec = exec(
|
aria2cExec = exec(
|
||||||
|
|||||||
Reference in New Issue
Block a user