Add timeouts for failing instances

This commit is contained in:
davidovski
2023-08-25 16:23:53 +01:00
parent 2c36d28a2f
commit 0fd041a353
4 changed files with 51 additions and 12 deletions
+3
View File
@@ -20,6 +20,9 @@
// This may greatly increase the time it takes to get a result and in some cases results in 504 errors
"instance_fallback" => false,
// how long in minutes to put google/other instances on cooldown if they aren't responding
"request_cooldown" => 5,
/*
Preset privacy friendly frontends for users, these can be overwritten by users in the settings
e.g.: Preset the invidious instance URL: "instance_url" => "https://yewtu.be",