mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-28 02:50:17 +05:30
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
|
||||
rescue ex
|
||||
conn.close
|
||||
conn = make_client(url)
|
||||
conn = make_client(url, force_resolve: true)
|
||||
response = yield conn
|
||||
ensure
|
||||
pool.release(conn)
|
||||
|
Loading…
Reference in New Issue
Block a user