fix stuff + add stuff
This commit is contained in:
parent
586732f15b
commit
c91c19435e
@ -60,7 +60,7 @@ class InnerTubePokeVidious {
|
||||
};
|
||||
|
||||
// Retry window is armed ONLY after seeing a 500 or 502 response
|
||||
const fetchWithRetry = async (url, options = {}, maxRetryTime = 5000) => {
|
||||
const fetchWithRetry = async (url, options = {}, maxRetryTime = 2000) => {
|
||||
let lastError;
|
||||
|
||||
const RETRY_WINDOW_TRIGGER = new Set([500, 502]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user