mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix typo in argument to make_client
Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
This commit is contained in:
parent
136e21efad
commit
e3ba1b7b08
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ struct YoutubeConnectionPool
|
|||
|
||||
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
|
||||
conn = make_client(url, force_solve = true)
|
||||
conn = make_client(url, force_resolve = true)
|
||||
conn.family = Socket::Family::INET if conn.family == Socket::Family::UNSPEC
|
||||
conn
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue