do not change to another companion if request fails
All checks were successful
Invidious CI / build (push) Successful in 4m54s

This commit is contained in:
Fijxu 2025-04-01 22:30:21 -03:00
parent 04e5e69d48
commit 12b4d9c05c
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -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