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
|
||||
response = yield conn
|
||||
rescue ex
|
||||
conn.close
|
||||
# conn.close
|
||||
|
||||
companion = CONFIG.invidious_companion.sample
|
||||
conn = make_client(companion.private_url, use_http_proxy: false)
|
||||
# companion = CONFIG.invidious_companion.sample
|
||||
# conn = make_client(companion.private_url, use_http_proxy: false)
|
||||
|
||||
response = yield conn
|
||||
ensure
|
||||
|
|
Loading…
Add table
Reference in a new issue