From 4184fb3ae78fecb27c50e5ddf8d149ff7cce7467 Mon Sep 17 00:00:00 2001 From: saltycrys <73420320+saltycrys@users.noreply.github.com> Date: Sun, 6 Dec 2020 13:12:02 +0100 Subject: [PATCH] Increase YouTube request timeout (#1540) Increase YouTube request timeout --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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