Skip to content

Commit

Permalink
Remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite committed Apr 13, 2024
1 parent c9e076f commit 7b35354
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/invidious/yt_backend/connection_pool.cr
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ struct YoutubeConnectionPool
def client(region = nil, &block)
if !CONFIG.http_proxy && region
conn = make_client(url, region, force_resolve = true)
conn.proxy = make_configured_http_proxy_client() if CONFIG.http_proxy

response = yield conn
else
# Proxy needs to be reinstated every time we get a client from the pool
Expand Down

0 comments on commit 7b35354

Please sign in to comment.