Move YTIMG_POOLS to connection_pool.cr

This commit is contained in:
syeopite committed 2024-08-24 19:47:40 -07:00
1 parent 06e1a508e8
commit 4bc77b81bf
2 files changed
+18 -18

No files matched your search

-4
View File
@@ -96,10 +96,6 @@ YT_POOL = YoutubeConnectionPool.new(YT_URL, capacity: CONFIG.pool_size)
GGPHT_POOL = YoutubeConnectionPool.new(URI.parse("https://yt3.ggpht.com"), capacity: CONFIG.pool_size)
# Mapping of subdomain => YoutubeConnectionPool
# This is needed as we may need to access arbitrary subdomains of ytimg
YTIMG_POOLS = {} of String => YoutubeConnectionPool
# CLI
Kemal.config.extra_options do |parser|
parser.banner = "Usage: invidious [arguments]"