mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Increase YouTube request timeout (#1540)
Increase YouTube request timeout
This commit is contained in:
parent
20d2d141e4
commit
4184fb3ae7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue