From 8ceb1dcbd58b98ed2ebd2c64facfc9b5d349a5a0 Mon Sep 17 00:00:00 2001 From: ashley Date: Sun, 21 Sep 2025 14:45:31 +0200 Subject: [PATCH] try 10 seconds --- src/libpoketube/libpoketube-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;