do not change to another companion if request fails
All checks were successful
Invidious CI / build (push) Successful in 4m54s
All checks were successful
Invidious CI / build (push) Successful in 4m54s
This commit is contained in:
parent
04e5e69d48
commit
12b4d9c05c
1 changed files with 3 additions and 3 deletions
|
@ -68,10 +68,10 @@ struct CompanionConnectionPool
|
||||||
begin
|
begin
|
||||||
response = yield conn
|
response = yield conn
|
||||||
rescue ex
|
rescue ex
|
||||||
conn.close
|
# conn.close
|
||||||
|
|
||||||
companion = CONFIG.invidious_companion.sample
|
# companion = CONFIG.invidious_companion.sample
|
||||||
conn = make_client(companion.private_url, use_http_proxy: false)
|
# conn = make_client(companion.private_url, use_http_proxy: false)
|
||||||
|
|
||||||
response = yield conn
|
response = yield conn
|
||||||
ensure
|
ensure
|
||||||
|
|
Loading…
Add table
Reference in a new issue