diff --git a/js/app.js b/js/app.js index 3c520c4e..e5c8110e 100644 --- a/js/app.js +++ b/js/app.js @@ -497,12 +497,13 @@ class Application { if (source === "torrent" && hasActivePeers === false) { userLogger.warn( - "[app] Unable to switch to torrent playback: no active peers.", + "[app] Switching to torrent playback despite 0 active peers detected.", ); - this.showError( - "Torrent playback is unavailable right now because there are no active peers.", + this.showStatus( + "Warning: No peers detected. Playback may fail or stall.", + { autoHideMs: 5000 } ); - return; + // Proceed anyway } if (source === "url" && cdnUnavailable) { diff --git a/js/gridHealth.js b/js/gridHealth.js index f565ebb9..6fe39850 100644 --- a/js/gridHealth.js +++ b/js/gridHealth.js @@ -212,7 +212,7 @@ function queueProbe(magnet, cacheKey, priority = 0) { } const PROBE_CACHE_TTL_MS = 5 * 60 * 1000; -const PROBE_TIMEOUT_MS = 8000; +const PROBE_TIMEOUT_MS = 20000; const PROBE_CONCURRENCY = 96; const PROBE_POLL_COUNT = 3; const PRIORITY_BASELINE = 1_000_000;