mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-28 08:27:25 +00:00
Pool: Use force_resolve in fallback new client
This commit is contained in:
parent
7521902e88
commit
46c58bd84c
@ -30,7 +30,7 @@ struct YoutubeConnectionPool
|
|||||||
response = yield conn
|
response = yield conn
|
||||||
rescue ex
|
rescue ex
|
||||||
conn.close
|
conn.close
|
||||||
conn = make_client(url)
|
conn = make_client(url, force_resolve: true)
|
||||||
response = yield conn
|
response = yield conn
|
||||||
ensure
|
ensure
|
||||||
pool.release(conn)
|
pool.release(conn)
|
||||||
|
Loading…
Reference in New Issue
Block a user