mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-27 17:38:25 +00:00
set offset on index for backends status
Some checks are pending
Build and release container directly from master / release (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.2, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.3, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.1, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.1, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.16.3, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Waiting to run
Invidious CI / build-docker (push) Waiting to run
Invidious CI / build-docker-arm64 (push) Waiting to run
Invidious CI / lint (push) Waiting to run
Some checks are pending
Build and release container directly from master / release (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.2, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.3, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.1, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.1, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.16.3, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Waiting to run
Invidious CI / build-docker (push) Waiting to run
Invidious CI / build-docker-arm64 (push) Waiting to run
Invidious CI / lint (push) Waiting to run
This commit is contained in:
parent
20f0710a91
commit
2d20e73d99
@ -531,7 +531,7 @@
|
|||||||
"username_empty": "Username cannot be empty",
|
"username_empty": "Username cannot be empty",
|
||||||
"username_is_the_same": "This is your username, use another one",
|
"username_is_the_same": "This is your username, use another one",
|
||||||
"username_taken": "Username is already taken, use another one",
|
"username_taken": "Username is already taken, use another one",
|
||||||
"backend_unavailable": "The backend you selected is unavailable. You have been redirected to the next one",
|
"backend_unavailable": "The backend you selected is unavailable. You have been redirected to another one",
|
||||||
"timeline_parse_error_placeholder_heading": "Unable to parse item",
|
"timeline_parse_error_placeholder_heading": "Unable to parse item",
|
||||||
"timeline_parse_error_placeholder_message": "Invidious encountered an error while trying to parse this item. For more information see below:",
|
"timeline_parse_error_placeholder_message": "Invidious encountered an error while trying to parse this item. For more information see below:",
|
||||||
"timeline_parse_error_show_technical_details": "Show technical details",
|
"timeline_parse_error_show_technical_details": "Show technical details",
|
||||||
|
@ -57,7 +57,7 @@ module Invidious::Routes::BeforeAll
|
|||||||
companion_status = BackendInfo.get_status
|
companion_status = BackendInfo.get_status
|
||||||
|
|
||||||
if companion_status[current_companion] != 2
|
if companion_status[current_companion] != 2
|
||||||
alive_companion = companion_status.index(2)
|
alive_companion = companion_status.index(2, offset: current_companion)
|
||||||
if alive_companion
|
if alive_companion
|
||||||
env.set "companion_switched", true
|
env.set "companion_switched", true
|
||||||
current_companion = alive_companion
|
current_companion = alive_companion
|
||||||
|
Loading…
Reference in New Issue
Block a user