Reduce stall timeout to 10s for faster retry

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe 2026-03-02 21:15:56 +01:00
parent ba7fe24a0a
commit b2b62aeb52
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "real-debrid-downloader", "name": "real-debrid-downloader",
"version": "1.5.21", "version": "1.5.22",
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)", "description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
"main": "build/main/main/main.js", "main": "build/main/main/main.js",
"author": "Sucukdeluxe", "author": "Sucukdeluxe",

View File

@ -39,7 +39,7 @@ type ActiveTask = {
unrestrictRetries?: number; unrestrictRetries?: number;
}; };
const DEFAULT_DOWNLOAD_STALL_TIMEOUT_MS = 15000; const DEFAULT_DOWNLOAD_STALL_TIMEOUT_MS = 10000;
const DEFAULT_DOWNLOAD_CONNECT_TIMEOUT_MS = 25000; const DEFAULT_DOWNLOAD_CONNECT_TIMEOUT_MS = 25000;