mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-28 11:00:24 +05:30
Typo
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
3af6681869
commit
ee89db49ba
@ -42,7 +42,7 @@ struct YoutubeConnectionPool
|
|||||||
|
|
||||||
private def build_pool
|
private def build_pool
|
||||||
DB::Pool(HTTP::Client).new(initial_pool_size: 0, max_pool_size: capacity, max_idle_pool_size: capacity, checkout_timeout: timeout) do
|
DB::Pool(HTTP::Client).new(initial_pool_size: 0, max_pool_size: capacity, max_idle_pool_size: capacity, checkout_timeout: timeout) do
|
||||||
conn = make_client(url, force_resolve = true)
|
conn = make_client(url, force_resolve: true)
|
||||||
conn.family = Socket::Family::INET if conn.family == Socket::Family::UNSPEC
|
conn.family = Socket::Family::INET if conn.family == Socket::Family::UNSPEC
|
||||||
conn
|
conn
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user