diff options
| author | syeopite <syeopite@syeopite.dev> | 2024-08-24 19:38:02 -0700 |
|---|---|---|
| committer | syeopite <syeopite@syeopite.dev> | 2024-08-24 19:41:23 -0700 |
| commit | 46c58bd84cf2a867b897338bb2105648aed0118c (patch) | |
| tree | 9783db91bb4b98045d4a01e5d2808c477980a48f | |
| parent | 7521902e88a4654378b5a0428f9c538d52dcb9db (diff) | |
| download | invidious-46c58bd84cf2a867b897338bb2105648aed0118c.tar.gz invidious-46c58bd84cf2a867b897338bb2105648aed0118c.tar.bz2 invidious-46c58bd84cf2a867b897338bb2105648aed0118c.zip | |
Pool: Use force_resolve in fallback new client
| -rw-r--r-- | src/invidious/yt_backend/connection_pool.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/yt_backend/connection_pool.cr b/src/invidious/yt_backend/connection_pool.cr index eaa94158..d474d760 100644 --- a/src/invidious/yt_backend/connection_pool.cr +++ b/src/invidious/yt_backend/connection_pool.cr @@ -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) |
