Pool: Use force_resolve in fallback new client

This commit is contained in:
syeopite 2024-08-24 19:38:02 -07:00 committed by Fijxu
parent 2cbf245aae
commit 82bd79bb0f
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -22,7 +22,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)