diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-22 15:03:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-22 15:03:13 +0100 |
commit | 8296984de4b085231fb1a96c8456a2d79a8ded0c (patch) | |
tree | 14bdcb71d2523020216159c8fc835d10caba792c /server/helpers/youtube-dl/youtube-dl-wrapper.ts | |
parent | 5301e7762b340367323cbb76d68953c35b909634 (diff) | |
download | PeerTube-8296984de4b085231fb1a96c8456a2d79a8ded0c.tar.gz PeerTube-8296984de4b085231fb1a96c8456a2d79a8ded0c.tar.zst PeerTube-8296984de4b085231fb1a96c8456a2d79a8ded0c.zip |
Fix max buffer size for youtube-dl
Diffstat (limited to 'server/helpers/youtube-dl/youtube-dl-wrapper.ts')
-rw-r--r-- | server/helpers/youtube-dl/youtube-dl-wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl/youtube-dl-wrapper.ts b/server/helpers/youtube-dl/youtube-dl-wrapper.ts index 68c29cd86..d585e9a95 100644 --- a/server/helpers/youtube-dl/youtube-dl-wrapper.ts +++ b/server/helpers/youtube-dl/youtube-dl-wrapper.ts | |||
@@ -16,7 +16,7 @@ export type YoutubeDLSubs = { | |||
16 | }[] | 16 | }[] |
17 | 17 | ||
18 | const processOptions = { | 18 | const processOptions = { |
19 | maxBuffer: 1024 * 1024 * 10 // 10MB | 19 | maxBuffer: 1024 * 1024 * 30 // 30MB |
20 | } | 20 | } |
21 | 21 | ||
22 | class YoutubeDLWrapper { | 22 | class YoutubeDLWrapper { |