aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/cache/YoutubeCache.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/cache/YoutubeCache.hx b/src/server/cache/YoutubeCache.hx
index 5b94bbb..4f74080 100644
--- a/src/server/cache/YoutubeCache.hx
+++ b/src/server/cache/YoutubeCache.hx
@@ -141,6 +141,8 @@ class YoutubeCache {
remuxVideo: "mp4",
cookies: useCookies ? getCookiesPathOrNull() : null,
forceIpv4: true,
+ socketTimeout: 2,
+ extractorRetries: 0,
onProgress: p -> {
final isFinished = p.status == "finished";
var ratio = if (isFinished) {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage