mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
b15a472bab
Add DOWNLOAD_CLIENT_TIMEOUT (60000ms) in src/lib/constants/download-timeouts.ts and replace hardcoded 60000ms timeouts across Deluge, Prowlarr, qBittorrent and Transmission integrations. This centralizes the download/API timeout (gives headroom for indexers that enforce ~30s waits) and makes future adjustments easier without changing behavior.
11 lines
371 B
TypeScript
11 lines
371 B
TypeScript
/**
|
|
* Component: Download Client Timeout Constants
|
|
* Documentation: documentation/phase3/download-clients.md
|
|
*
|
|
* Some indexers (e.g. YGGtorrent) enforce a ~30s wait before allowing
|
|
* .torrent file downloads. 60s gives sufficient headroom.
|
|
*/
|
|
|
|
/** Timeout for download client API calls and .torrent file fetches (ms) */
|
|
export const DOWNLOAD_CLIENT_TIMEOUT = 60000;
|