[Enhancement] Implement Database fallback when is not available #324

Open
opened 2025-11-30 12:19:17 -03:00 by Fijxu · 0 comments
Owner

If Invidious cannot connect to the database, it will not be available. Invidious can work perfectly without a database at all. When doing database maintenance tasks, Invidious will be unavailable which is a huge tradeoff when running a big instance like inv.nadeko.net (lol). For that, some kind of fallback like "This resource is not available right now due to database failure/maintenance" in pages or operations that require the database to be available would be fine.

If Invidious cannot connect to the database, it will not be available. Invidious can work perfectly without a database at all. When doing database maintenance tasks, Invidious will be unavailable which is a huge tradeoff when running a big instance like inv.nadeko.net (lol). For that, some kind of fallback like "This resource is not available right now due to database failure/maintenance" in pages or operations that require the database to be available would be fine.
Sign in to join this conversation.
No labels
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Fijxu/invidious#324
No description provided.