Pool: Use force_resolve in fallback new client
This commit is contained in:
parent
2cbf245aae
commit
82bd79bb0f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,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…
Add table
Reference in a new issue