Skip to content

Invidious is an alternative front-end to YouTube

Increase YouTube request timeout (#1540)

saltycrys4184fb3ae78f
diff --git a/src/invidious.cr b/src/invidious.cr
index 1a6a3bfa..1b59025c 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -104,7 +104,7 @@ LOCALES = {
"zh-TW" => load_locale("zh-TW"),
}
-YT_POOL = QUICPool.new(YT_URL, capacity: CONFIG.pool_size, timeout: 0.1)
+YT_POOL = QUICPool.new(YT_URL, capacity: CONFIG.pool_size, timeout: 2.0)
config = CONFIG
logger = Invidious::LogHandler.new