try 10 seconds
This commit is contained in:
parent
3afa6e879b
commit
8ceb1dcbd5
@ -60,8 +60,8 @@ class InnerTubePokeVidious {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// retry indefinitely but with a 25-second max retry window to avoid spam
|
// retry indefinitely but with a 10-second max retry window to avoid spam
|
||||||
const fetchWithRetry = async (url, options = {}, maxRetryTime = 25000) => {
|
const fetchWithRetry = async (url, options = {}, maxRetryTime = 10000) => {
|
||||||
const startTime = Date.now();
|
const startTime = Date.now();
|
||||||
let lastError;
|
let lastError;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user