fix timeout when downloading

This commit is contained in:
Mukhtar Akere
2025-05-02 20:48:29 +01:00
parent ef820b5bf4
commit 21354529e7
3 changed files with 3 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ func (q *QBit) downloadFiles(torrent *Torrent, parent string) {
}
client := &grab.Client{
UserAgent: "Decypharr[QBitTorrent]",
HTTPClient: request.New(request.WithTimeout(60 * time.Second)),
HTTPClient: request.New(request.WithTimeout(0)),
}
for _, file := range debridTorrent.Files {
if file.DownloadLink == nil {