mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-31 14:11:54 +05:30
add option to disable quic
This commit is contained in:
@@ -95,7 +95,7 @@ LOCALES = {
|
||||
"zh-TW" => load_locale("zh-TW"),
|
||||
}
|
||||
|
||||
YT_POOL = QUICPool.new(YT_URL, capacity: CONFIG.pool_size, timeout: 2.0)
|
||||
YT_POOL = YoutubeConnectionPool.new(YT_URL, capacity: CONFIG.pool_size, timeout: 2.0, use_quic: CONFIG.use_quic)
|
||||
|
||||
# CLI
|
||||
Kemal.config.extra_options do |parser|
|
||||
|
Reference in New Issue
Block a user