diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 11e5e222..353cd3ec 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -60,8 +60,8 @@ class InnerTubePokeVidious { }; -// retry indefinitely but with a 25-second max retry window to avoid spam -const fetchWithRetry = async (url, options = {}, maxRetryTime = 25000) => { +// retry indefinitely but with a 10-second max retry window to avoid spam +const fetchWithRetry = async (url, options = {}, maxRetryTime = 10000) => { const startTime = Date.now(); let lastError;