Skip to content

Commit

Permalink
Remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite committed Jan 25, 2024
1 parent 9a5a743 commit a69313d
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 @@ -28,8 +28,6 @@ struct YoutubeConnectionPool
def client(region = nil, &block)
if !CONFIG.http_proxy && region
conn = make_client(url, region)
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 a69313d

Please sign in to comment.