mirror of
https://github.com/Ahwxorg/librey/
synced 2024-12-06 19:16:48 +01:00
Add timeouts for failing instances
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user